-----maxima-bounces at math.utexas.edu wrote: -----
>To: maxima at math.utexas.edu
>From: "Bowo Prasetyo"
>Sent by: maxima-bounces at math.utexas.edu
>Date: 03/28/2007 04:33PM
>Subject: [realonly: true] doesn't work to [solve]
>
>Hi all,
>
>I want to get a real only solutions for the equation.. using
>'realonly: true' and 'solve' such as below gave me all solutions
>including complex one..
>
>realonly: true;
>solve([(1 + 2*x)^3 = 13.5*(1 + x^5)], [x]);
>
>However.. using 'algsys' will do the job perfectly..
>
>realonly: true;
>algsys([(1 + 2*x)^3 = 13.5*(1 + x^5)], [x]);
>
>Is it by design..?
Yes, I believe it is by design. The user documentation for
'realonly' doesn't say anything about the solve function:
(%i5) describe(realonly);
-- Option variable: realonly
Default value: `false'
When `realonly' is `true', `algsys' returns only those solutions
which are free of `%i'.
Note: Free of %i doesn't mean real. So be careful.
Barton