On 2/12/2012 11:39 PM, Roger Stafford wrote:
> "Patrick" wrote in message<jha4b1$os6$
1...@newscl01ah.mathworks.com>...
>> I'm trying to solve the following non-linear equation: 0=-x^3 + (sin(x))^2
>> ........
>> By graphing this equation, it appears that there are solutions at 0 and 0.803. What am I doing wrong?
> - - - - - - - - - -
> I would say your only mistake is placing too much reliance on the 'solve' function.
> It did find one of the roots, but the other two are apparently beyond its capability.
Also, a good 'solve' function will warn or tell the user that it
can't solve the equation instead of just doing part of the job.
In Mathematica 8:
-------------------
Solve[-x^3 + (Sin[x])^2 == 0, x]
gives
Solve::nsmet: This system cannot be solved with the methods available to Solve. >>
---------------------
in Maple 14:
---------------------------
> solve(-x^3+(sin(x))^2=0,x);
3 2
RootOf(_Z - sin(_Z) )
----------------------------
So, both systems do not do anything with it.
--Nasser