Last Updated 04/18/2017

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 6

Unlike your calculator, Sage gives you the exact answer when applying trigonometric functions.

To get the inverse sine of a number use the arcsin() function:

Try this! Compute .

If you ask Sage to calculate a value that is undefined it will respond with an error message:

FYI Like , is also undefined. However, Sage returns Infinity which has to do with something called "left hand limit". Ignore this if you have no idea what this is.


← Previous Example Next Example →