Filter löschen
Filter löschen

How to solve equation contains sin and cos?

3 Ansichten (letzte 30 Tage)
Abdulaziz Abutunis
Abdulaziz Abutunis am 3 Mär. 2016
Kommentiert: Star Strider am 3 Mär. 2016
Hello MATLAB experts,
I am seeking you assistance in solving an equation that has sin and cos. The equation and the commands and the resulted error are as follow
syms a b solve((350+1-((a*0.984807753012208)+(b*cosd(asind(((a*0.173648177666930))/b))))),b) ??? Error using ==> asind at 15 Argument should be real.
Thanks in advance, Aziz

Akzeptierte Antwort

Star Strider
Star Strider am 3 Mär. 2016
The cosd function does not exist in the Symbolic Math Toolbox.
Try this:
syms a b
b_solved = solve((350+1-((a*0.984807753012208)+(b*cos(asin(((a*0.173648177666930))/b))))),b);
  2 Kommentare
Abdulaziz Abutunis
Abdulaziz Abutunis am 3 Mär. 2016
Thank you Star. you are right
Star Strider
Star Strider am 3 Mär. 2016
My pleasure.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by