Last Updated 04/18/2017
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.