Bearing = Measured from Due North ($310^\circ$ bearing = $140^\circ$)
We are given the following — a plane departs from airport LAX to SFO at an air speed of 750 km/hr at 12:00 AM, with airport SFO bearing $310^\circ$ from LAX. Airport SFO is 540 km away from airport LAX. A wind blows 90 km/hr at a bearing of $75^\circ$
1.) What is the heading the airplane needs to depart at in order to travel towards SFO? (meaning $V_{airplane}$ + $V_{wind}$ should have a bearing of $310^\circ$, or angle measure of $140^\circ$)
2.) What time will the plane arrive at SFO?
I cannot for some reason achieve an answer of a bearing of $304.4^\circ$.
My reasoning --
We can first write the following equations:
$750\cos(140 + \theta) + 90\cos(15) = |V_{airplane}|\cos(140)$ and $750\sin(140 + \theta) + 90\sin(15) = |V_{airplane}|\sin(140)$
Dividing the respective equations by cos(140) and sin(140) will yield:
$\frac{750}{\cos140}\cos(140 + \theta) + \frac{90\cos(15)}{\cos140}= |V_{airplane}|$ and $\frac{750}{\sin140}\sin(140 + \theta) + \frac{90\sin(15)}{\sin140}= |V_{airplane}|$
Therefore, we can now assume that
$\frac{750}{\cos140}\cos(140 + \theta) + \frac{90\cos(15)}{\cos140}= \frac{750}{\sin140}\sin(140 + \theta) + \frac{90\sin(15)}{\sin140}$
Seeing that there are 4 constants in the above equation, we will now define
$\frac{750}{cos140} = A$, $\frac{90cos15}{cos140} = B$, $\frac{750}{sin140} = C$, and $\frac{90sin15}{sin140} = D$.
Slightly manipulating the equation will yield:
$-C\sin(140 + \theta) + A\cos(140 + \theta) = D - B$
Utilizing the fact that $k\sin(\theta + \phi) = A\sin(\theta) + B\cos(\theta)$, where $k = \sqrt{A^2+B^2}$, we can rewrite the above as
$k = \sqrt{-C^2+A^2}$
$k\sin(\theta + 140 + sin^{-1}\frac{A}{K}) = D - B$
Therefore,
$\theta = sin^{-1}\frac{D-B}{K} - sin^{-1}\frac{A}{K} - 140$
which yields the extremely incorrect answer of $-94.42^\circ$, or $234.42^\circ$ bearing.
I was wondering where the fault in my logic is, or if there is simply a better way to do this?
Thanks for all replies!

