Bug#431866: [#431866] maxima: solve function cause infinite loop and infinite memory allocation



forwarded 431866 maxima at math.utexas.edu
thanks

Confirmed this in the latest release of 5.13.0 to Debian.

Take care,

"Robert Dodier" <robert.dodier at gmail.com> writes:

> To whom it may concern,
> 
> What I observe when I try this example:
> 
> solve([n*force*cos(alpha) + n^2 + n = X, n*force*sin(alpha) + n^2 + n
> = Y], [n, force]);
> 
> in Maxima 5.12.0 + Windows or 5.13.0 + Windows
> or 5.13.0 + Centos Linux, is that Maxima thinks for a while
> (maybe 60 s) and then returns an empty list, i.e. [] .
> 
> However from what I can tell that is a spurious result; the
> equations actually have 2 solutions, which if I'm not mistaken
> can obtained by solving one equation for force, substituting
> that into the other one, and solving the resulting quadratic
> for n. If someone has time maybe this example could be
> reported to the Maxima bug tracker, in case someone works
> on the solve function at some point.
> 
> Hope this helps,
> 
> Robert Dodier
> Maxima developer
> 
> 
> 
> 

-- 
Camm Maguire			     			camm at enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah