Question 148012
The hypontenuse of a right triangle is 15 meters. If one leg is 3 meters longer than the other, then what are the lengths of the legs?
---------------------
Short leg = S
{{{s^2 + (s+3)^2 = 15^2}}}
{{{s^2 + s^2 + 6s + 9 = 225}}}
{{{2s^2 + 6s -216 = 0}}}
{{{s^2 + 3s - 108 = 0}}}
(s+12)*(s-9) = 0
s = 9, s = -12
Negative lengths don't work, so discard that.
s = 9
2nd side = 12
--------------
Or, use quadratic instead of factoring
*[invoke solve_quadratic_equation 1,3,-108]