next up previous index
Next: Sums and Products Up: Numbers Previous: Simple Arithmetic

Forcing Floating Point Evaluation

If you insist, you can force  all three to deliver a floating point answer. In Maxima you'd do it as follows:

(C39) ev(%,numer);
(D39)                         0.5333783737377914
whereas in Maple the corresponding command is:
> evalf(%);


In Mathematica function N evaluates an algebraic expression with accuracy requested by its second argument:

In[16]:= N[%,10]

Out[16]= 0.5333783737


Zdzislaw Meglicki