Algebra (URGENT!)
posted by Caroline on .
Can you help me with this problem:
Find a formula for the distance from the point (X1, Y2)
(The numbers next to X and Y are like X sub 1, Y sub 2...)

Given two points, x,y and X1,Y2, the distance between those points are
distance=sqrt((xx1)^2 +(yy2)^2 ) 
Perhaps from (x1,y1) to (x2,y2) ???
well, start at (x1,y1) and go right to (x2,y1)
you went (x2x1) in the x direction
then turn straight up (a 90 degree turn up)
and proceed up to (x2,y2)
You went up a distance = (y2y1)
NOW you have a right triangle and the hypotenuse, d, is the distance you want
d^2 = (x2x1)^2 + (y2y1)^2
so in the end
d = sqrt [ (x2x1)^2 + (y2y1)^2 ]