document.write( "Question 984805: The line segment QP has endpoints at point Q (−2,22√) and P (10,42√). What is the length of QP? \n" ); document.write( "
Algebra.Com's Answer #605639 by Timnewman(323)\"\" \"About 
You can put this solution on YOUR website!
Hi dear,
\n" ); document.write( "The distance formula for a straight line is given by
\n" ); document.write( "\"d=sqrt%28%28x%5B2%5D-x%5B1%5D%29%5E2%2B%28y%5B2%5D-y%5B1%5D%29%5E2%29\"
\n" ); document.write( "Let the lenght be d,
\n" ); document.write( "from your question,
\n" ); document.write( "\"x%5B1%5D=2\",\"x%5B2%5D=10\",\"y%5B1%5D=22\",\"y%5B2%5D=42\"
\n" ); document.write( "substitute the above in the formula
\n" ); document.write( "\"d=sqrt%28%2810-2%29%5E%282%29%2B%2842-22%29%5E%282%29%29\"
\n" ); document.write( "Evaluating the above,
\n" ); document.write( "\"d=sqrt%28464%29\"
\n" ); document.write( "d=21.5
\n" ); document.write( "The lenght of QP is 21.5
\n" ); document.write( "
\n" );