title: Determining Point given two other points and headings
body: <p>I'm working on a project that has radio receivers in various points. When these receivers receive a signal, they output their location and the heading towards that signal in the form: </p>
  
  <pre><code>{
    "current": [
      {
        "heading": 292.5, 
        "id": 1, 
        "lat": 43.08429, 
        "lon": -77.674126, 
        "name": "node1"
      }, 
      {
        "heading": 90, 
        "id": 2, 
        "lat": 43.084537, 
        "lon": -77.681288, 
        "name": "node2"
      }
    ]
  }
  </code></pre>
  
  <p>I need to take this information and find the latitude and longitude of the signal. </p>
  
  <p>The way I've been thinking of handling this is finding the equations of the lines that contain possible lat and lons from each node. Then, I can find where these lines intersect.  While this is great in theory, I'm finding it a bit difficult to implement.  </p>
  
  <p>I'm assuming that 0 degrees is North. In the example above, finding the equation of the line for <code>node2</code> is easy, since it's just a line pointing East,  <code>y = -77.681288</code>. </p>
  
  <p>For <code>node1</code> it's a bit trickier, especially to code.  Any ideas?</p>