document.write( "Question 212404: If a diagonal of a square is 18 cm, how long is a side?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #160407 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
pythagorean theorem states that a^2 + b^2 = c^2
\n" ); document.write( "let d = diagonal of the square.
\n" ); document.write( "let s = each side of the square.
\n" ); document.write( "diagonal is hypotenuse of a right triangle, so c = d
\n" ); document.write( "one side of the square is one leg of the right triangle so a = s
\n" ); document.write( "one side of the square is the other leg of the right triangle so b = s
\n" ); document.write( "a^2 + b^2 = c^2 becomes:
\n" ); document.write( "s^2 + s^2 = d^2 which becomes:
\n" ); document.write( "2s^2 = d^2
\n" ); document.write( "divide both sides by 2 to get:
\n" ); document.write( "s^2 = d^2/2
\n" ); document.write( "take the square root of both sides to get:
\n" ); document.write( "s = +/- sqrt (d^2/2)
\n" ); document.write( "-----
\n" ); document.write( "since s can't be negative, this becomes:
\n" ); document.write( "s = sqrt (d^2/2)
\n" ); document.write( "-----
\n" ); document.write( "since d = 18, this becomes:
\n" ); document.write( "s = sqrt(18^2/2) which becomes:
\n" ); document.write( "s = sqrt (162) which becomes:
\n" ); document.write( "s = 12.72792206
\n" ); document.write( "-----\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----
\n" ); document.write( "2s^2 = 324
\n" ); document.write( "sqrt(324) = 18
\n" ); document.write( "-----
\n" ); document.write( "answer is confirmed.
\n" ); document.write( "each side of the square = 12.72792206
\n" ); document.write( "-----
\n" ); document.write( "
\n" );