document.write( "Question 1087936: Seth builds a bike ramp in the shape of a right triangle. One leg is one inch shorter than the \"ramp\" while the other leg , the height of the ramp, is 8 in. shorter than the ramp. What is the height of the ramp? \n" ); document.write( "
Algebra.Com's Answer #702234 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let the ramp be \"+r+%7C%7C%7C+inches+long%0D%0AAnother+leg+is+%7B%7B%7B+r+-+1+\" in long
\n" ); document.write( "The height of the ramp is \"+r+-+8+\" in long
\n" ); document.write( "----------------------------------------
\n" ); document.write( "Use pythagorean theorem
\n" ); document.write( "\"+%28+r+-+1+%29%5E2+%2B+%28+r+-+8+%29%5E2+=+r%5E2+\"
\n" ); document.write( "\"+r%5E2+-+2r+%2B+1+%2B+r%5E2+-+16r+%2B+64+=+r%5E2+\"
\n" ); document.write( "\"+2r%5E2+-+18r+%2B+65+=+r%5E2+\"
\n" ); document.write( "\"+r%5E2+-+18r+%2B+65+=+0+\"
\n" ); document.write( "complete the square:
\n" ); document.write( "\"+r%5E2+-+18r+%2B+%2818%2F2%29%5E2+=+-65+%2B+%2818%2F2%29%5E2+\"
\n" ); document.write( "\"+r%5E2+-+18r+%2B+81+=+-65+%2B+81+\"
\n" ); document.write( "\"+%28+r+-+9+%29%5E2+=+16+\"
\n" ); document.write( "\"+%28+r+-+9+%29%5E2+=+4%5E2+\"
\n" ); document.write( "\"+r+-+9+=+4+\"
\n" ); document.write( "\"+r+=+13+\"
\n" ); document.write( "and the other solution is:
\n" ); document.write( "\"+r+-+9+=+-4+\"
\n" ); document.write( "\"+r+=+5+\"
\n" ); document.write( "( I can't use this solution because I cannot subtract \"+8+\" from it )
\n" ); document.write( "-----------------------
\n" ); document.write( "\"+r+=+13+\"
\n" ); document.write( "\"+r+-+1+=+12+\"
\n" ); document.write( "\"+r+-+8+=+5+\"
\n" ); document.write( "------------------
\n" ); document.write( "The height of the ramp is 5 in
\n" ); document.write( "-------------------------------
\n" ); document.write( "check answer:
\n" ); document.write( "\"+%28+r+-+1+%29%5E2+%2B+%28+r+-+8+%29%5E2+=+r%5E2+\"
\n" ); document.write( "\"+12%5E2+%2B+5%5E2+=+13%5E2+\"
\n" ); document.write( "\"+144+%2B+25+=+169+\"
\n" ); document.write( "\"+169+=+169+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );