Looking at this QA, I'm trying the following - 2 functions (r in vector format) using Theta { A, 2 } functions (sorry for the inconsistent names...).
ihat = {1, 0, 0}
jhat = {0, 1, 0}
khat = {0, 0, 1}
ThetaA[t_] := 0.2 Pi Cos[50 t];
Theta2[t_] := 0.2 Pi Sin[50 t - Pi/3];
L1 = L2 = 5.0;
rAO[ThetaA_, t_] := L1 Sin[ThetaA[t]] ihat + L1 Cos[ThetaA[t]] jhat
rBA[t_] := (L2 Sin[Theta2[t]] + rAO[[1]]) ihat
+ (L2 Cos[Theta2[t]] + rAO[[2]]) jhat
which gives me the following errors:
Could anyone tell me what's wrong with my functions. Thank you.