Capgemini
Company
Numerical Ability
Algebra
Find min value of fn:
|-5-x| + |2-x|+|6-x|+10-x|; where x is an integer
0 17 23 19
Read Solution (Total 9)
-
- It becomes
|5+x| + |x-2| + |6-x| + |10-x|
=> x-19=0
=> x=19 Ans - 12 years agoHelpfull: Yes(18) No(32)
- here x is an integer means x value ranges from ......-3,-2,-1,0,1,2,3.....
if we substitute o then fn value will be 23
if we substitute -1 then fn value will be 27
if we substutute 1 then 21
by substitutung 2 we get 19
we cant get the fn value less than 19 in any cases of x
so the answer is 19. - 8 years agoHelpfull: Yes(10) No(3)
- 0 is the minimum value of the function.
Where, Each term has a minimum value of zero because of the absolute values.
So the minimum value for the function is zero. - 12 years agoHelpfull: Yes(6) No(31)
- |-(5+x)|+|2-x|+|6-x|+|10-x|=23-2x
putiing the values x=0,1,2,3... ccheck the conditionn...when x=3 it has having min value as 17
so option 2 ans
- 11 years agoHelpfull: Yes(3) No(3)
- Median calculation:
Put all the numbers in numerical order. i.e> -5,2,6,10
If there is an odd number of results, the median is the middle number.
If there is an even number of results, the median will be the mean of the two central numbers
here. median=6+2/2=4
so finally,put x=4, will get d ans 19(9+2+2+6) - 7 years agoHelpfull: Yes(2) No(0)
- substitute all the given integers into the equation
on substuting 5 we get 17 and it is the least
so it is answer - 11 years agoHelpfull: Yes(1) No(1)
- The answer is 19. Just make a graph or use inequalities.
| -5 - x | + | 2 - x | + | 6 - x | + | 10 - x | =
| 5 + x | + | x - 2 | + | 6 - x | + | 10 - x | >=
| (5 + x) + (x - 2) + (6 - x) + (10 - x)| = 19.
This means the minimum can not be 0 or 17, so it is either 19 or 23. Since equality holds when x = 2, 19 is in fact the minimum. - 9 years agoHelpfull: Yes(1) No(1)
- IN PLACE OF IN THIS QUESTION
PUT ANY VALUE OF X= 5,2,6,10
U WILL GET 19
SO ANSWER IS 19 - 7 years agoHelpfull: Yes(1) No(0)
- hey vignesh , will you please tell us how 0 should be the answer?
- 9 years agoHelpfull: Yes(0) No(1)
Capgemini Other Question