I want to rewrite the following expression into arctan.
2 views (last 30 days)
Show older comments
safisay
on 30 Nov 2017
Answered: Walter Roberson
on 30 Nov 2017
Hi All,
I want to rewrite the following expression into arctan. Can anyone help?
m=(k_1*(sin(theta1) + cos(k_1*(gama - theta1))*sin(theta0) - cos(theta0)*sin(theta1) + cos(theta1)*sin(theta0) - M*sin(theta1) - k_1*sin(k_1*(gama - theta1)) - M*cos(k_1*(gama - theta1))*sin(theta1) + k_1*cos(theta0)*sin(k_1*(gama - theta1)) + M*k_1*sin(k_1*(gama - theta1)) - M*k_1*cos(theta1)*sin(k_1*(gama - theta1))))/(M*l*(2*k_1 - sin(k_1*(gama - theta1))*sin(theta1) + 2*k_1*cos(k_1*(gama - theta1))*cos(theta1) - k_1^2*sin(k_1*(gama - theta1))*sin(theta1))) - (k_1*(M*sin(theta1) - cos(k_1*(gama - theta1))*sin(theta1) - sin(theta0) + M*cos(k_1*(gama - theta1))*sin(theta1) - k_1*cos(theta1)*sin(k_1*(gama - theta1)) + cos(k_1*(gama - theta1))*cos(theta0)*sin(theta1) - cos(k_1*(gama - theta1))*cos(theta1)*sin(theta0) - M*k_1*sin(k_1*(gama - theta1)) + k_1*cos(theta0)*cos(theta1)*sin(k_1*(gama - theta1)) + k_1*sin(k_1*(gama - theta1))*sin(theta0)*sin(theta1) + M*k_1*cos(theta1)*sin(k_1*(gama - theta1))))/(M*(2*k_1 - sin(k_1*(gama - theta1))*sin(theta1) + 2*k_1*cos(k_1*(gama - theta1))*cos(theta1) - k_1^2*sin(k_1*(gama - theta1))*sin(theta1)))
0 Comments
Accepted Answer
Walter Roberson
on 30 Nov 2017
No, there are no log terms and no imaginary constants and no sqrt() of expressions; there is nothing to rewrite into arctan. It would make more sense to rewrite it into tan
Some of the trig calls can be combined, for whatever that is worth. That does not make it any easier to understand, and has nothing to do with rewriting to arctan.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!