Info

此问题已关闭。 请重新打开它进行编辑或回答。

Why doesn't this code solve the equation?

1 次查看(过去 30 天)
Yuval
Yuval 2017-3-10
关闭: MATLAB Answer Bot 2021-8-20
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?

回答(1 个)

Karan Gill
Karan Gill 2017-3-10
编辑:Karan Gill 2017-10-17

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by