using solve when it involve trigonometrics
Mostrar comentarios más antiguos
Hi , I'm trying to solve this simple equaiton, but matlab giving me this message error. Could you help me? I've tried too many ways but its not working with me. 2*V(1-cos(a)) = E*a Where E=70 and V=170; I tried this: syms a1 E=70; V=170 ; eq=2*V -2*V*cos(a)- E*a==0; a = solve(eq, a)
1 comentario
Star Strider
el 15 de Mayo de 2017
Consider vpasolve.
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 15 de Mayo de 2017
Editada: Steven Lord
el 15 de Mayo de 2017
0 votos
You're missing a comma between the end of your syms command and the start of the next command. You also have a typo: you define the symbolic variable a1 then use the variable a in your code.
1 comentario
Hamza Makhamreh
el 15 de Mayo de 2017
Categorías
Más información sobre Numeric Solvers en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
