I came across this issue on my course today, and found it somewhat surprising: restart:Digits:=7: foo:=1/2*sqrt(3): evalf(foo); 0.8660255 evalf[5](%); 0.86603 evalf[5](foo); 0.86605 I suppose this means that whatever algorithm Maple uses to compute the square root also works to the specified level of accuracy and the above is a result of accumulated rounding errors. Obviously it's not a good idea to use evalf's precision option when you want to see a result to a specified level of accuracy ... Digits and interface(displayprecision) are the way to go.

Please Wait...