Last Updated 04/18/2017

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 8

To enter the absolute value function |x| in Sage, type: abs(x)

For example, this function at x = -3 yields


← Previous Example Next Example →