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

4 vues (au cours des 30 derniers jours)
Murat
Murat le 17 Avr 2012
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 ]

Réponse acceptée

Walter Roberson
Walter Roberson le 17 Avr 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 commentaires
Murat
Murat le 18 Avr 2012
Thank you very much for your answer. May i ask which other package are you using?
Walter Roberson
Walter Roberson le 18 Avr 2012
Maple.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by