Hi,(adsbygoogle = window.adsbygoogle || []).push({});

Let's say I have two points:

Pa = (0, 0, -30)

Pb = (-2.5, -2.5, 7.5)

and I want to find the X and Y values for a third point on this line whose Z value is 30:

Pc = (X, Y, 30)

How can I achieve this? My math is not very great and I'm applying this to a computer program. So if possible, a straightforward, programmable format would be so great!

Thanks

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# A Line in Three Dimensions

Loading...

Similar Threads - Line Three Dimensions | Date |
---|---|

I Points of a finite projective line | Sep 14, 2016 |

Intersection of line and surface | May 29, 2015 |

Doubt about condition solutions of complex line equation | Dec 10, 2014 |

Line operations on matrix products | Oct 21, 2014 |

Perpendicular Lines in Three Space | Mar 31, 2005 |

**Physics Forums - The Fusion of Science and Community**