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 4)
-
- 3 is the answer
it can be solved graphically
https://graphsketch.com/?eqn1_color=1&eqn1_eqn=abs(x%2B2)%2Babs(x-1)-abs(2x%2B4)&eqn2_color=2&eqn2_eqn=&eqn3_color=3&eqn3_eqn=&eqn4_color=4&eqn4_eqn=&eqn5_color=5&eqn5_eqn=&eqn6_color=6&eqn6_eqn=&x_min=-17&x_max=17&y_min=-10.5&y_max=10.5&x_tick=1&y_tick=1&x_label_freq=5&y_label_freq=5&do_grid=0&do_grid=1&bold_labeled_lines=0&bold_labeled_lines=1&line_width=4&image_w=850&image_h=525
- 8 years agoHelpfull: Yes(0) No(1)
- 5..because substitute any maximum for x u will get only 5 not exceed or less than 5.
- 8 years agoHelpfull: Yes(0) No(1)
- If you substitute any real value to x it's maximum value is -3
for ex substitute x=1 , then value is -2. or x=5 ,the value is -3
therefore , the maximum value is -3 - 8 years agoHelpfull: Yes(0) No(0)
- ans is 5 check for all values it'll not exceed 5.
- 8 years agoHelpfull: Yes(0) No(0)
TCS Other Question