OA. free
Free
Capgemini Quantitative Aptitude Quantitative Aptitude Medium

The function f(x) = x - 2 + 2.5 - x + 3.6 - x , where x is a real number, attains a minimum...

Capgemini aptitude question with a worked answer. Free to practise - no sign-up.

The function f(x) = |x - 2| + |2.5 - x| + |3.6 - x|, where x is a real number, attains a minimum at:-

Choose one option.
Show answer & explanation
Answer: B. B) x = 2.5

Case 1: If x < 2, then y = 2 - x + 2.5 - x + 3.6 - x = 8.1 - 3x. This will be least if x is highest i.e. just less than