CAT 1997 — QA Question 30
Basics (Functions)Easy
Passage / Data
Direction: Answer the questions based on the following information.
For these questions the following functions have been defined.
la(x, y, z) = min(x + y, y + z)
le(x, y, z) = max (x − y, y − z)
ma(x, y, z) = [le(x, y, z) + la(x, y, z)]
For x = 15, y = 10 and z = 9 , find the value of le(x, min(y, x − z), le (9, 8, ma(x, y, z))).
Answer & solution
- A
5
- B
12
9
- D
4
Solution
le (15,min (10, 6),le (9,8,ma (15,10,9)))
Now ma(15,10, 9) = [le(15, 10, 9) + la(15, 10, 9)]
= [max(5, 1) + min(25,19)]
= (5 + 19) = 12
Hence, our original expression would now be
le(15,min(10,6),le(9,8,12))
= le(15, 6,max(1, − 4))
= le(15, 6,1) = max(9, 5) = 9