f(x)=[x2]-[x]2
0≤x<1
=>[x]=0
and 0≤[x2]<1
=> [x2]-[x]2=0
1≤x<2
=>[x]=1
and 1≤[x2]<4
=> 0≤[x2]-[x]2<3
Similarly ohter intervals will eb evaluated
f(x)=[x2]-[x]2
0≤x<1
=>[x]=0
and 0≤[x2]<1
=> [x2]-[x]2=0
1≤x<2
=>[x]=1
and 1≤[x2]<4
=> 0≤[x2]-[x]2<3
Similarly ohter intervals will eb evaluated
also i think we will be more precise to take intervals as:
1≤x<√2
[x2]-[x]2 =0
√2<= x <√3
[x2]-[x]2 =1
in [√3,2)
[x2]-[x]2 =2
in [2,√5)
[x2]-[x]2 =2