1.

If the sum of two numbers is 42 and their product is 437, then find the absolute difference between the numbers.

Answer»

Let the numbers be x and y. 

Then, x + y = 42 and xy = 437 

 x - y = sqrt[(x + y)2 - 4xy] 

= sqrt[(42)2 - 4 x 437 ] 

= sqrt[1764 – 1748] 

= sqrt[16] = 4. 

 Required difference = 4.



Discussion

No Comment Found

Related InterviewSolutions