Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Why doesn't this code solve the equation?

1 Ansicht (letzte 30 Tage)
Yuval
Yuval am 10 Mär. 2017
Geschlossen: MATLAB Answer Bot am 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?

Antworten (1)

Karan Gill
Karan Gill am 10 Mär. 2017
Bearbeitet: Karan Gill am 17 Okt. 2017

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by