document.write( "Question 1005646: A pencil box, in the shape of a rectangular prism, measures 16 cm by 12 cm by 8 cm. Find the length of the longest pencil that would fit inside a box. \n" ); document.write( "
Algebra.Com's Answer #621866 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
The diagonal distance from the lower front left corner to the upper back right corner is what you want...
\n" ); document.write( "d^2 = a^2 + b^2 + c^2
\n" ); document.write( "d^2 = 16^2 + 12^2 + 8^2
\n" ); document.write( "d^2 = 256 + 144 + 64
\n" ); document.write( "d^2 = 464
\n" ); document.write( "d = 21.54 cm
\n" ); document.write( "
\n" );