Code:
triangle:
A*
| ` sqrt[xxyy]
|yy `
| `
| xx `
B*---------------*C
ABC is a right triangle
AB is perpendicular to BC
|AB| is yy units
|BC| is xx units
|AC| is sqrt[xxyy] units
xx and yy are two digits
xxyy is a four-digit natural number.
Find the value of x + y.
(10y + y)2 + (10x + x)2 = xxyy
121y2 + 121x2 = 1100x + 11y
11y2 + 11x2 = 100x + y
< LINK REMOVED >
I got the answer as 8833
8+3=11
Is there a shorter way?
Last edited by a moderator: