I know it is simple but I am puzzled how to force Matlab to solve the following equation
to get
This is what I do (assuming
and
;
is the coefficient of static friction between a body and an incline plane and θ is the inclination angle): assume(theta > 0 & theta < pi/2)
eq = sin(theta) == mu_s*cos(theta);
sol = solve(eq, theta, 'Real', true, 'ReturnConditions', true, 'PrincipalValue', true);
simplify(sol.theta)
ans =
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1374459/image.png)
Any ideas? Thank you very much!