This is an old revision of the document!
This page describes the math used to calculate our bearing towards the pinger using our hydrophones. A solution is derived in 2 dimensions to show how it works, then our final result is extrapolated to 3 dimensions.
Imagine dropping a rock in the middle of a pond. At first the ripples look very circular, but by the time they reach the shore they look like straight lines. We assume that the wave front of the ping is planar, which basically means that even though the wave front is curved, the curvature is small enough from the perspective of the hydrophones such that the wave front actually looks flat. This makes our calculations a lot easier.
We have 3 hydrophones, located at the following positions:
$h_0$ is at location $(0,0)$
$h_x$ is at location $(x,0)$
$h_y$ is at location $(0,y)$