Q1.

Question

Find a counterexample to the statement to find the greatest integer function of when is not an integer, round to the nearest integer.

Step-by-Step Solution

Verified
Answer

The counter example for the given statement is  [[2.6]]=2

1Step-1 – Greatest integer function

The Greatest integer function, written f(x)=x is an example of step function. The symbolx means the greatest integer less than or equal to x  

2Step-2 – Suitable function for given statement.

The given statement is to find the greatest integer function of  x  when  x  is not an integer, round  x  to the nearest integer.

Suitable function for this case is g(x)=x

Letusconsiderx=2.6g(x)=xg(2.6)=2.6=2

3Step-3 – Determine the difference.

Original function was:

x=2.62<2.6<3

Here, we can observe that to find the greatest integer function of x when x is not an integer, we didn’t round x to the nearest integer. We round to integer less than x.

So, the counter example for the given statement is [[2.6]]=2.