Warning: Explicit solution could not be found. What am i doing wrong?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 ]
0 commentaires
Réponse acceptée
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Calculus dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!