snkrhed
For any integers x and y, min(x, y) and max(x, y) denote the minimum and the maximum of x and y, respectively. For example, min (5, 2) = 2 and max(5, 2) = 5. For the integer w, what is the value of min(10, w) ?
(1) w = max(20, z) for some integer z.
(2) w = max(10, w)
The question statement states 2 functions:
1) max(5,10) = This max function represents the maximum value between the two numbers. So, in this case the answer is 10
2) min(5,10) = This min function represents the minimum value between the two numbers. So, in this case the answer is 5.
Now, question is to find the min(10, w):
min(10, w) = 10, when w>10
min(10, w) = w, when w<10To answer the question, we will have to know if w<10?
1) w = max(20, z)
From this statement, it's clear that w has to be 20 or greater. Why?
If z < 20: max(20,z) = 20. So, min(10, 20) = 10
if z >20: max(20,z) > 20. So, min(10, greater than 20) = 10.
Satisfied
2) w = max(10,w)
From this statement, it's clear that w has to be greater than 10. Why?
min(10, w) = 10 (as, w>10)
Satisfied.