Last Updated 01/02/2018

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 4

To enter the square root of a number use sqrt():

Observe! Notice that SageMath has simplified but has left the answer in exact form. In the next section you will learn how to get a decimal approximation for this number.

Try this! Compute .


← Previous Example Next Example →