This question was asked in Ex 6.5, 2 (i)
Find maximum and minimum values if any of the functions is given by 
1.-[x-1]+3
Rahul Gurjar's image