Lecture 4: Maple Programming

Background Material

Reading

Topics

  1. Go over Assignment 1. See sol1.mws for my solution and an elaboration.
  2. Maple Programming lec4.mws.
    1. Elementary Programming
      1. Loops and conditionals.
      2. Sequences, lists, and sets.
      3. Arrays and tables.
      4. Convert function.
    2. Maple Operators
    3. Maple Procedures
    4. Functional Programming in Maple
    5. Number theory algorithms
      1. Modular Arithmetic
      2. Greatest Common Divisors and the Euclidean Algorithm
      3. Modular powers and fast exponentiation
      4. Extended Euclidean algorithm
    6. Advanced Maple Programming (time permitting)
      1. Procedures that return procedures
      2. Types
      3. Extending Maple

    Maple worksheets and programs

    Assignments

    Created: Oct. 16, 2001 by jjohnson@mcs.drexel.edu