sanjana wrote:Brett,
Shouldnt it be 0<x<1?
According to you,
-1<x<=0
If x>-1
Say x=-0.63,then [x] = -1,since [x] is defined as greatest integer less than or equal to x.
I'm a little confused here.
Hi Sandy
The function is defined as the least integer that is greater than or equal to X.
So, for -0.63, we're looking for an integer that is
greater than or equal to -0.63
Possible integers include 0, 1, 2, 3, etc
The function tells us to take the least of these values (i.e., 0)
In your answer, x could equal 0.5
So, possible integers include 1, 2, 3, etc
The function tells us to take the least of these values (i.e., 1) We need [x] to equal 0