I am brushing up on some equations of motion stuff for a project I am working on at work and I stumbled across this old problem. If it's more appropriate for me to start a new thread, please say so and I will do that instead. I figured since this was never fully resolved that it may still be appropriate for me to post here. I apologize in advance for not quite knowing the proper formatting procedure. Any pointers on that and how to insert proper formulas would be appreciated. Also, if any of my wordy descriptions require diagrams I'm more than happy to make them.
I believe I have properly solved for the specific case when (Xp, Yp)=(35,11). I am curious, however, whether or not there is a more eloquent way of solving it. It becomes cumbersome when written out on paper and when implementing something like this into code.
Starting where this previously left off, I calculated the value of α3 using the coordinates of F and P. Specifically, α3=atan((Yp-Yf)/(Xp-Xf)
From that I determined (X3, Y3) using more right triangle trigonometry, specifically (X3, Y3) = ((Xp,Yp)+L3(cos(α3+π),sin(α3+π))
Next, between (Xb, Yb) and (X3, Y3) I created another vector and which I used to find α1. α1 would be the sum of the angles formed by 2,b,3 which I called αx and the angle formed between 3b and a horizontal line, which I called αw.
αw was found using right angle trig, specifically αw = atan((X3-Xb)/(Y3-Yb))
The length of the vector B3 was also calculated B3=√((X3-Xb)2+(Y3-Yb)2)
αx was found using the law of cosines, being given L1, L2 and having calculated B3. αx = acos((L22-L12-B32)/(-2L1B3))
α1 =αx+αw
The inside angle at 2 was also found using the law of cosines on the same triangle as the one above. I'll call this αia2
α2 was found by forming a right triangle using points B and 2 and subtracting the inside angle formed at 2 with this right triangle from the inside angle found at 2 in the immediately preceding step. The end result after some cancelling and whatnot is:
α2 = αia2-π+α1
I am fairly confident that this is all correct. For the specific instance where P= (35,11) I have calculated the values for α1, α2 and α3 to be 2.059, 0.641, and -0.876 respectively. As stated at the beginning of the post, this feels "clunky" and perhaps I'm missing a more eloquent way of doing it.
Beyond that, the first major snag that I run into is using the equations for P(t). Specifically XP(t)= 40+5cos(2π/(60t+π)). Can someone please confirm that the t does not belong in the denominator of the cosine function? It would appear as if there may have been a typo and the equation should read:
XP(t)= 40+5cos(2πt/(60+π))