Question 984805
Hi dear,
The distance formula for a straight line is given by
{{{d=sqrt((x[2]-x[1])^2+(y[2]-y[1])^2)}}}
Let the lenght be d,
from your question,
{{{x[1]=2}}},{{{x[2]=10}}},{{{y[1]=22}}},{{{y[2]=42}}}
substitute the above in the formula
{{{d=sqrt((10-2)^(2)+(42-22)^(2))}}}
Evaluating the above,
{{{d=sqrt(464)}}}
d=21.5
The lenght of QP is 21.5