I'm a little stuck on a physics question. Here it is:
We have two particles p1 and p2 in space. We know the velocity and bearing of p1, and we know the velocity of p2. Find the bearing that p2 should be so p1 and p2 will collide.
You can assume that is on the point and is at the origin.
I got a huge messy answer (courtesy of Wolfram Alpha for equation bashing):
And I am doubtful of its correctness.
A computer science approach is also welcome.
Any help is appreciated!