|
From: Richard F. <fa...@gm...> - 2016-09-26 10:07:32
|
For what it's worth, the input is a nested radical, not the intended domain for radcan. Also note that, mathematically, there are two values for each sqrt. Radcan picks one. It may be possible to extend the program to use denesting, but that doesn't mean you're going to choose the same sign as the program in all cases. On Sep 25, 2016 10:42 PM, "Robert Dodier" <rob...@gm...> wrote: > On 2016-09-25, David Billinghurst <dbm...@gm...> wrote: > > > (%i45) eq3:sqrt(6-3^(3/2)); > > (%o45) sqrt(6-3^(3/2)) > > > > (%i46) float(%); > > (%o46) 0.8965754721680539 > > > > (%i47) radcan(eq3); > > (%o47) sqrt(sqrt(3)-2)*sqrt(3)*%i > > > > (%i48) float(%); > > (%o48) -0.8965754721680536 > > For the record I find that Maxima 5.9.3 has this bug. So for better or > worse it's not the result of tinkering over the last decade or so ... > > best > > Robert Dodier > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |