Warning: Explicit solution could not be found. What am i doing wrong?

4 Ansichten (letzte 30 Tage)
I only have one variable and and one equation and i am very new to Matlab.
the code is
syms t
>> solve(((t/5 - 2*cos(2*t))^2 + (4*sin(4*t) - 1)^2)^(1/2)=0)
Warning: Explicit solution could not be found.
> In solve at 83
ans =
[ empty sym ]

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 17 Apr. 2012
The "=0" part should have given you a syntax error. Leave that out.
But besides that, most computer algebraic systems have trouble finding analytic solutions to trig problems.
It isn't difficult, with a bit of graphing, to establish that there are no real roots for that expression. How many imaginary roots would you like to get? Using a different package, I have found 26 imaginary roots numerically; there is no obvious pattern to them.
  2 Kommentare
Murat
Murat am 18 Apr. 2012
Thank you very much for your answer. May i ask which other package are you using?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by