1 Answers
Best Answer
Recall that int returns the largest integer less than or equal to the number inside it, in this case 2x. To put it more simply, it rounds down to the nearest integer.
For x=1.6,
f(1.6)=int(2*1.6)
f(1.6)=int(3.2)
The integer less than 3.2 is 3 so:
f(1.6)=3
Result:
3
For x=1.6,
f(1.6)=int(2*1.6)
f(1.6)=int(3.2)
The integer less than 3.2 is 3 so:
f(1.6)=3
Result:
3