Last Updated 04/18/2017

Sage Essentials
Section 1: Numerical Calculations

Doing Exact Arithmetic with Sage

Example 3

Sage can calculate with fractions without converting to decimals:

Note that the answer is in Single Line form. To put it in the nice Typset form, use show():

Try this! Compute .


← Previous Example Next Example →