Last Updated 04/18/2017

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 7

To enter the natural exponential function ex in Sage, type: exp(x)

And to get the number e by itself, type: exp(1).

FYI In Sage, the variable e has the value of exp(1). So exp(x) and e^x are considered equivalent.

Try this! Compute exp(5)-e^5.


← Previous Example Next Example →