Solving equation with tan
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Joel Schelander
el 25 de Mzo. de 2021
Respondida: Star Strider
el 25 de Mzo. de 2021
I have an equation that needs to be solved numerically.
-125=-arctan(0.25*x)-0.2*x*180/pi
I know that the answer can be approximatedto 6, according to the exams "corrected answer"
I cant solve it with pen and paper so I wonder if there is anyway to solve this in MATLAB?
0 comentarios
Respuesta aceptada
Star Strider
el 25 de Mzo. de 2021
Here is how I would solve it:
fcn = @(x) 125-atand(0.25.*x)-0.2*x*180/pi;
est_x = fzero(fcn, 10)
producing:
est_x =
5.9959
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!