Allroot function problem



You could probably use a program that found intervals I1, I2, ... for 
roots, and then use interval arithmetic to make sure that p(I1), p(I2) 
etc included zero.
This is probably irrelevant to the original poster.

There is a real root isolation program in Maxima, but evaluation of a 
polynomial at an interval point is not built in. Not that it is very 
hard to do.
RJF


Raymond Toy wrote:
> Oscar wrote:
>   
>> Hi all,
>> thank you all for the answers.
>>
>> @Leo: in your example I have the same problem: if I calculate the
>> roots and then I map using it, it doesn't return 0.
>>
>> Is there an solution to this problem? 
>>     
> You mean that the value of the polynomial at a root isn't zero?  It
> seems to me that it's highly unlikely for this to be true unless the
> root and the polynomial have certain properties like the root is exactly
> representable as a floating point number and the polynomial can be
> evaluated without roundoff.   Of course, this is a sufficient but not
> necessary condition.
>
> Ray
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>