# Math Help - Calculate unknown X Y coordinate using known XY coordinate and distance between them

1. ## Calculate unknown X Y coordinate using known XY coordinate and distance between them

Hello,

I have a list of data points with XY coorindates within a sphere. The origin is 0,0.

I have calculated the distance between the data points and the origin. However, I need to move the X and Y coordinates by a known distance along the same line.

So I need to find an unknown X and Y coordinate with a known X and Y coordinate as well as the the known distance between them.

Any assistance is greatly appreciated!!!

2. ## Re: Calculate unknown X Y coordinate using known XY coordinate and distance between t

You can think of the problem like two triangles that have the same angles but different dimensions.
For triangles like these the ratio of their hypotenuses is equal to the ratio of their heights (y). Likewise the ratio of their hypotenuses is equal to the ratio of their bases (x)