Info

This question is closed. Reopen it to edit or answer.

Why doesn't this code solve the equation?

1 view (last 30 days)
Yuval
Yuval on 10 Mar 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi, I am trying to solve a trigonometric equation for phis using the following code:
phi = linspace(0,3*pi/4,1000);
syms phis
sol=solve(sqrt(108-40*sqrt(2)*cos(phi-phis))/sin(phi-phis)==10/sin(phis),phis);
double(subs(sol))
Unfortunately it doesn't work. Any idea how to fix it?

Answers (1)

Karan Gill
Karan Gill on 10 Mar 2017
Edited: Karan Gill on 17 Oct 2017

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!