document.write( "Question 787556: The base of a 22 foot ladder is 6 feet from a building. If the ladder reaches the flat roof, how tall is the building \n" ); document.write( "
Algebra.Com's Answer #478235 by waynest(281)\"\" \"About 
You can put this solution on YOUR website!
a^2 + b^2 = c^2
\n" ); document.write( "a = 6, c = 22
\n" ); document.write( "22^2 - 6^2 = b^2
\n" ); document.write( "484 - 36 = 448
\n" ); document.write( "b = sqrt448
\n" ); document.write( "b = 21.2 feet
\n" ); document.write( "
\n" );