How to get the largest positive root of a polynomial



Stavros Macrakis wrote:
> Try sort(map(rhs,...)) or apply('max,map(rhs,...))
> 
> If you only want real roots, use realroots.
> 
> Does that solve your problem?
> 
>     If not how can I sort the list to get the largest positive root?
> 

Thanks Stavros,

sort(map(rhs,rootlist),">")

did the trick.

Glenn

-- 
Glenn Ramsey  07 8627077
http://www.componic.co.nz