topoly vs. to_poly



Hi (Barton),

can you please give me a hint, how to use the new to_poly function and how I can get the 
same result as before with topoly?

Thanks
Volker

Maxima 5.12.0 http://maxima.sourceforge.net
...
(%i1) wcc(v) := 0.478+0.237*sqrt(v)-0.0124*v$
(%i2) load(topoly)$
(%i3) topoly( wcc(v)=1 ), ratprint:false;
			     2
(%o3) 		       3844 v  - 1080585 v + 6812100 = 0


Maxima 5.13.0 http://maxima.sourceforge.net
...
(%i1) wcc(v) := 0.478+0.237*sqrt(v)-0.0124*v$
(%i2) load(topoly)$
(%i3) to_poly( wcc(v)=1 ), ratprint:false;
                                                 2      %pi                           %pi
(%o3)   [[- 0.0124 v + 0.237 %g0 - 0.522, v = %g0 ], [- --- < carg(%g0), carg(%g0) <= ---]]
                                                         2                             2