The user documentation for globalsolve says:
"When solving anything other than two or more linear equations, `solve'
ignores `globalsolve'."
To read this documentation, enter ? globalsolve. To loop over the members
of the solution, you
can do something similar to:
sol : solve(b^2=1);
for sx in sol do (
subst(sx, ....),
....)
--Barton
maxima-bounces at math.utexas.edu wrote on 12/13/2010 05:36:12 AM:
> [image removed]
>
> [Maxima] solve and multiple solutions
>
> Giovanni
>
> to:
>
> maxima
>
> 12/13/2010 05:35 AM
>
> Sent by:
>
> maxima-bounces at math.utexas.edu
>
>
> Hi all. I've a (probably stupid) problem trying to solve an equation
> in the form a^2=1. If i try the following:
>
> globalsolve: true$
> solve(b^2=1);
>
> I get:
> [b=-1,b=1]
>
> which it's obviusly the correct solution, but i'd like to have the
> assignment too! (i.e. b:-1)
> I know that the question it's "what 'b' to choose for the assignment?",
> so i'm wondering how can i solve this kind of equation, having the
> assignment done too...
> Any hints?
>
> Thanks,
> Giovanni
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima