Next:
Preliminaries about Maple
Notes for MAT 331
Mathematical Problem Solving with Computers
Fall 1999
Santiago R. Simanca & Scott Sutherland
The University at Stony Brook
Preliminaries about Maple
Starting a Maple Session
Basic Maple
Maple for numeric calculations
Maple for symbolic manipulations
Graphing in Maple
The Maple worksheet
Introducing the worksheet
Worksheet basics: the front-end and the kernel
Online Maple help
Documenting and structuring your worksheet
Assignments, Functions and Constants
Assignment statements
Variables and subsequent assignments: unassignments
Functions known to Maple. How to define your own functions
Special constants and reserved names
The limit command
The diff (and Diff) command
Higher order derivatives
Implicit differentiation
The int (and Int) command
Symbolic integrals
Numerical integration
Approximations through Riemann Sums
Multiple integrals
The subs command
Why is subs useful?
Plotting with Maple
Plotting several functions (or curves) on the same axes
Fancier plotting
Exercises
Least Square Fitting
Fitting a line to data
Fitting a cubic to data
Fitting other types of funtions
Fitting a circle
Robust fitting
A nod toward statistics
fsqFsHn sGGousG
Introduction to Cryptography
Simple Ciphers
Simple substitution
The Caesar cipher, and the ASCII encoding
Treating characters as numbers
Render unto Caesar
Defining functions with
proc
; Local and global variables
Caesar cipher redux
Improved Caesar-like ciphers
The Vignère cipher
One-time pads
Multi-character alphabets
Reading and Writing from a file
Affine enciphering
When do affine encodings fail?
Implementing and using an affine encoding
Breaking an affine cipher
Enciphering matrices
Treating text as vectors
Affine encoding with matrices
A Known-plaintext attack on an affine matrix cipher
Modern cryptography
Secure cryptosystems
Message digests
Public Key cryptography
Some Number Theory
The greatest common divisor and the Euclidean algorithm
The Chinese Remainder Theorem
Powers modulo n
The Euler
-function and Euler's Theorem
The RSA Public key cryptosystem
Implementing RSA in Maple
Useful preliminaries
Basic Setup: choice of primes, base, exponent, and decoding exponent
Encoding and Decoding
A turtle in a fractal garden
Turtle Graphics
A fractal
Recursion and making a Koch Snowflake with Maple
Recursive functions.
A recursive procedure to generate
K
n
The Koch Snowflake
Some variations on the Koch curve
Making a tree
Fractal Dimension
Box counting dimension
Computing the box dimension of some examples
Cantor sets
The Sierpinski gasket
Inside the turtle's shell
Extending the turtle's commands
Euler's equation for an incompressible perfect fluid
About this document ...
Translated from LaTeX by Scott Sutherland
1999-12-08