Mathematica
Chapter 2
Important:
To access Mathematica notebook files from this window, your browser
must recognize the nb file extension. If not, load
the files with the Mathematica interface.
Section 2.1
Figure 2.1, Mathematica's integer operators page 18
(Fig2-1-integer-operators.nb, Mathematica's Quotient and Mod operators)
IntegerGcd, Figure 2.2 page 23
(IntegerGcd.txt)
IntExtEucAlg, Figure 2.3 page 26
(IntegerExtEucAlg.txt)
Mathematica's FactorInteger operator page 27
(FactorInteger.nb, integer factorization)
ChineseRemainder, Figure 2.4 page 34
(ChineseRemainder.txt)
Section 8.2
SimplifyRationalNumber, Figure 2.5 page 38
(SimplifyRationalNumber.txt)
SimplifyRNE, SimplifyRNERec, EvaluateQuotient, EvaluatePower, Figures
2.7, 2.8, and 2.9
pages 40-42
(SimplifyRNE.txt,
requires
SimplifyRationalNumber, Figure 2.5
page 38,
NumeratorFun (Exercise 3(a), page 43),
DenominatorFun (Exercise 3(b), page 43),
EvaluateSum (Exercise 3(c), page 43),
EvaluateDifference, (Exercise 3(d), page 43),
EvaluateProduct (Exercise 3(e), page 43))