188k views
4 votes
Find the value of f(x) = [2.7]
a. 2
b. 2.7
c. 3

User Onqtam
by
5.4k points

2 Answers

5 votes

Answer:

Answer is 2. Just took this quiz and passed.

Explanation:

User Steve Mulvihill
by
5.3k points
0 votes
The correct answer is A.

EXPLANATION

The given function is called the greatest integer function.

That is

f(x)=[x]

f(2.7)=[2.7]=2

The input is 2.7, the output

is the greatest integer that is less than or equal to 2.7

All integers less than 2.7 are


,...,-3,-2,-1,0,1,2}.

The greatest of all of them is 2.

In programming... The int variable behaves like this function.

int(2.7) will give you 2

Simply put that function gives you the integer part of whatever is in it.
User Darrell Plank
by
5.2k points