Triangulation by computer
I was recently presented with over 100 bearings on a radiotracked target from a pair of known locations. Whilst drawing 100+ pairs of lines on a map and finding their intersects seemed like good fun, I decided to figure out how to do this by computer.
Methods of triangulation are diuscussed under triangulate and not included here. This page merely shows how this can be acheived on a PC in excel
So we have 2 locations with known grid coordinates, A and B, and we wish to determine a third point Z. We know the bearings of Z from A and B are α and β:
N
^

B
_________
 /β
A  /
α____________ /
\  /
\  /
\  /
\  /
\  /
\  /
\/
Z
So using the formula of a line (y=mx+C) we can work out the formulas of the lines from A target Z:
Y = m_{A}x + C_{A}
Where:
m_{A} = 1/tan(α) (the slope of the line)
C_{A} = X_{A} – 1/tan(α) (difference between x and y at the known point A)
Likewise we can work out the formula for the line from B to Z
Y = m_{B}x + C_{B}
Where:
M_{B} = 1/tan(β) (the slope of the line)
C_{B} = X_{B} – 1/tan(β) (difference between x and y at the known point B)
We then solve these two simultaneous equations for the point at which they have the same x and y values (the intersect at point Z):
m_{A}X_{Z} + C_{A} = m_{B}X_{Z} + C_{B}
X_{Z} (m_{A} – m_{B}) = C_{B} – C_{A}
X_{Z} = C_{B} – C_{A}

m_{A}  m_{B}
And then use the formula of either of the lines to get y:
Y_{Z} = m_{A}X_{Z} + C_{A}
In excel this is represented by the following. Note that excel uses radians, so we need to convert the bearings to radians if they are in degrees.
A B C D 

1Site A X_{A}   1 
2 Y_{A}   5 
3Bearing α  312.27 
4Site B X_{B}   9 
5 Y_{B}   7 
6Bearing β   19.65 
7Line AZm_{A} =1/TAN(RADIANS(C3))  0.908
8 C_{A} =C2C1/TAN(RADIANS(C3)) 5.908
9Line BZm_{B} =1/TAN(RADIANS(C6))  2.801
10 C_{B} =C5C4/TAN(RADIANS(C6))18.205
11Site Z X_{Z} =(C10C8)/(C7C9)  6.500
12 Y_{Z} =C7*C11+C8  0.000
You should note that if the original bearings were incorrect and did not actually intersect (i.e. were diverging), then the formula above will give an intersect point behind the observer. You’ll need to check that the resulting point lies in the correct direction (not 180 degrees out) from both observers if you are uncertain of the correctness of your data.