Skip to main content

Section 1.3 Using Sage as a Calculator

Let first evaluate some constants in math.
In what next, try your best to calculate the following values in the SageCell below.
\(\sqrt[3]{2}, \frac{\sqrt{5}+1}{2}, 2^{10}, 543\times 345.\)
Euclidean’s ALgorithm:
Let \(n,m\in \mathbb{Z}\text{.}\) There are unique \(q\in \mathbb{Z}\) and \(0\leq r \leq |m|-1\) such that
\begin{equation*} n = q\cdot m+r. \end{equation*}