Skip to main content\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 2 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.\)
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*}