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

4 visualizzazioni (ultimi 30 giorni)
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 ]

Risposta accettata

Walter Roberson
Walter Roberson il 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by