OtherIf f(x)=int(2x), find f(1.2)
3 years ago
If f(x)=int(2x), find f(1.2)
1 Answers
Best Answer
deftonestourbaltimore Staff answered 3 years ago
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.2,
f(1.2)=int(2*1.2)
f(1.2)=int(2.4)
The integer less than 2.4 is 2 so:
f(1.2)=2
Result:
2
* For every student we do a unique answer