I've been running some numbers based on a formula I found here:(adsbygoogle = window.adsbygoogle || []).push({});

http://en.wikipedia.org/wiki/Trilateration

This formula allows you to solve for the X, Y, and Z coordinates of an object in 3d space given the distances to that object from three different known points (spheres). However it occasionally gives an inconclusive answer (or even an imaginary number).

Is there a way to derive the X,Y, and Z coordinates using 4 points that will give a conclusive answer each time? I'm using this in a simple program I am writting and what I really need is a formula that I can plug the numbers into.

**Physics Forums | Science Articles, Homework Help, Discussion**

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!

# Quadlateration Trilateration formula

**Physics Forums | Science Articles, Homework Help, Discussion**