document.write( "Question 211905: Need help with this word problem. A painter leans a 10 foot ladder against a house, the distance from the base of the ladder to the house is 4 feet less than the distance from the top f the ladder to the ground. How far up the house is the top of the ladder? Find the EXACT answer and the APPROXIMATE answer to the nearest hundredth.
\n" ); document.write( "I tried using the Pythagorean Theoriam, but I don't seem to be setting the problem up correctly.
\n" ); document.write( "

Algebra.Com's Answer #160086 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
H=10
\n" ); document.write( "A=distance from ground to top of ladder
\n" ); document.write( "B=distance from corner to bottom of ladder
\n" ); document.write( "A^2+B^2=H^2
\n" ); document.write( "B=A-4
\n" ); document.write( "A^2+(A-4)^2=10^2
\n" ); document.write( "A^2+(A^2-8A+16)=100
\n" ); document.write( "2A^2-8A+16=100
\n" ); document.write( "2A^2-8A-84=0
\n" ); document.write( "A^2-4A-42=0
\n" ); document.write( "Use the quadratic formula
\n" ); document.write( "A=(4+/-sqrt(4^2-4(1)(-42))/2
\n" ); document.write( "A=(4+/-sqrt(184))/2
\n" ); document.write( "A=(4+2*sqrt(46))/2
\n" ); document.write( "A=2+sqrt(46)=8.78
\n" ); document.write( "B=-2+sqrt(46)=4.78
\n" ); document.write( "
\n" );