TCS
Company
Numerical Ability
Arithmetic
For the real value of x what is the maximum value of |x+2|+|x-1|-|2x-4|=?
Read Solution (Total 6)
-
- 5,put all integers,it will not exceed 5
- 8 years agoHelpfull: Yes(13) No(0)
- value of expression will be maximum if mod(2x-4) will give minimum value
so 2x-4=0
x=2
maximum value=mod(2+2)+mod(2-1)-0=5
- 8 years agoHelpfull: Yes(13) No(0)
- 5, put 0, 1,2,3,4 like this... u will see that it will not exceed 5
- 8 years agoHelpfull: Yes(3) No(0)
- 5
2x-4=0
x=2
|2+2|+|2-1|=|2*2-4|
=5 - 8 years agoHelpfull: Yes(1) No(1)
- |x+2|+|x+1|-|2x-4|=?
x+2+x-1-2x+4=0
5 - 7 years agoHelpfull: Yes(1) No(0)
- 5; maximum is 5 for any value of x
- 8 years agoHelpfull: Yes(0) No(0)
TCS Other Question