Find the sum of all triples (x, y, z ; (x
Answers
Answered by
0
Step-by-step explanation:
When we talk about special triplets, they must satisfy following conditions
x<=y and z <=y
If the above condition is fulfilled, then value of each triplet is given by
f (x, y, z) = (x + y) * (y + z) .......... eq (1)
If we assume that there are three rays
A = {1, 4, 5}, B = {2, 3}, C = {2, 1, 3}
Special triplets according to the condition will be
(1, 2, 2), (1, 2, 1) , (1, 3, 2) , (1, 3, 1) , (1, 3, 3)
Putting value in eq (1), we get
(1 + 2) * (2 + 2) = 12
(1 + 2) * (2 + 1) = 9
(1 + 3) * (3 + 2) = 20
(1 + 3) * (3 + 1) = 16
(1 + 3) * (3 + 3) = 24
The sum will be equal to 81
Similar questions