document.write( "Question 358130: A ladder leans against a barn with its base 15 feet from the barn. when the ladder is pulled 9 feet further away from the barn, the upper end slides down 13 feet. how long is the ladder?\r
\n" ); document.write( "\n" ); document.write( "So far I have tried the Pythagorean theorem but I am not sure where to plug which numbers into. I also know that the ladder is a total of 24 feet away from the barn. Please help me, thanks so much.
\n" ); document.write( "

Algebra.Com's Answer #255626 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
A ladder leans against a barn with its base 15 feet from the barn. when the ladder is pulled 9 feet further away from the barn, the upper end slides down 13 feet. how long is the ladder?
\n" ); document.write( ".
\n" ); document.write( "The \"ladder\" is always the hypotenuse.
\n" ); document.write( ".
\n" ); document.write( "Before the slide:
\n" ); document.write( "Let x = height where the ladder hits the barn
\n" ); document.write( "and y = ladder's length
\n" ); document.write( "then
\n" ); document.write( "x^2 + 15^2 = y^2 (equation 1)
\n" ); document.write( ".
\n" ); document.write( "After the slide:
\n" ); document.write( "(x-9)^2 + (15+9)^2 = y^2
\n" ); document.write( "(x-9)^2 + (24)^2 = y^2 (equation 2)
\n" ); document.write( ".
\n" ); document.write( "Since equation 1 and equation 2 both defines y^2 we have:
\n" ); document.write( "x^2 + 15^2 = (x-9)^2 + (24)^2
\n" ); document.write( "x^2 + 225 = (x-9)^2 + 576
\n" ); document.write( "x^2 + 225 = (x-9)(x-9) + 576
\n" ); document.write( "x^2 + 225 = (x^2-18x+81) + 576
\n" ); document.write( "x^2 + 225 = x^2-18x+657
\n" ); document.write( "225 = -18x+657
\n" ); document.write( "-432 = -18x
\n" ); document.write( "24 = x
\n" ); document.write( ".
\n" ); document.write( "To find y (the ladder's length) plug the above back into equation 1 and solve for y:
\n" ); document.write( "x^2 + 15^2 = y^2
\n" ); document.write( "24^2 + 15^2 = y^2
\n" ); document.write( "576 + 225 = y^2
\n" ); document.write( "801 = y^2
\n" ); document.write( "28.3 feet = y (ladder's length)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );