Have you got access to, and hence the ability to test this using, Maple? From my Uni assignments using this (commercial) program we
were shown various functions which contain an option for setting the number of displayed decimal places - such evalf(..., 2), where
the "2" in this example implies 2 decimal places. Does Maxima have any similar functions which might be used or if not, could any
of the Maple functions be "simulated" and incorporated into Maxima? Some Maple statements for this purpose are: "Digits := 6;"
(set 6 digits); "evalf(%,6);"; etc.
Regards,
Paul Myers
Student, University of Canberra, ACT, Australia
Jonathan wrote:
> Hi:
>
> This same result can be seen in Scilab also:
>
> -->//Set display to 18 digits
> -->format(18)
> -->57.50+14.95+18.95+8.95+22.95+12.95+7.95+6.95+19.95+12.95+8.95+9.95+16.95
> +19.95+11.95
> ans =
>
> 251.7999999999999
>
> -->// Happens here in Scilab too
>
--
Paul Myers, JP(NSW), BSc(UNSW), MACS, MACM
PO Box 7007 Karabar NSW 2620 AUSTRALIA
Ph/Fx: 02 6299 2392/+61 2 6299 2392
Mobile: 041 629 9239/+61 41 629 9239
Email: prmyers@acslink.net.au
Web: http://www.pcug.org.au/~pmyers