Last Updated 04/18/2017
Recall that in the previous section we asked Sage to add three fractions and the result was also displayed as a fraction. This sort of exact arithmetic is very useful but there are times when we prefer an answer in decimal form. The Sage command numerical_approx() performs this task for us.
Compare the results of the next two lines.
To make life easier, numerical_approx() can be abbreviated as n() or N().
Try this! Find the numerical values of π and e.