Introduction to Scientific and Mathematical Computing

Homework

Homework 10: Monte Carlo minimization. Linear programming oil pipleine problem. Due 5pm Friday 4/25.
Homework 9: Continuous distributions, Celebration poster. Due 4/22.
Homework 8: Pseudo-random numbers, Monte Carlo integration and simulation. Due 4/8.
Homework 7: Least squares linear fitting, and application to drummer's time-keeping. Due 3/25.
Homework 6: Newton's method in the complex plane, and polynomial interpolation. Due 3/18.
Homework 5: Age-structured population model
Homework 4: Butterfly effect
Homework 3: Goldbach & Carmichael numbers, and computer arithmetic systems
Homework 2: Discrete-time dynamics
Homework 1: GCD and Pythagorean triples
Homework 0: Software Setup

Gradesheet

Gradesheet

Day 28: Review, finish pipeline linear optimization problem

Outline
Links
Whiteboards, etc.

Day 27: Pipeline problem, linear programming

Outline
Links
Whiteboards, etc.

Day 26: Stochastic optimization, Celebration of Academic Excellence

Outline
Links

Day 25: Optimization, airplane loading problem

Outline
Links
Whiteboards

Day 24: Tour of CCR

CCR is in the New York State Center of Excellence In Bioinformatics & Life Sciences (contains link to Google Maps). Directions: Millersport -> I-290 -> I-90W -> 33W -> Locust St exit onto Goodell -> R on Michigan -> L on Virginia -> street parking in front of the building on Virginia St (free for 2h).

We will meet outside Room 150 in the Math Bldg at 12:30pm.

Outline
Links
Whiteboards

Day 23: Generating non-uniform random numbers

Late start today: 12:45pm.

Outline
Links
Whiteboards

Day 22: Non-uniform random numbers, Monte Carlo simulation

Quiz 4: on polynomial interpolation and least squares linear regression. You may bring one single-sided page of notes.
Outline
Links
Whiteboards

Day 21: Monte Carlo integration in high-D

Outline
Links
Whiteboards

Day 20: A good random number generator, Monte Carlo integration

Outline
Links
Whiteboards

Day 19: Modeling stochastic processes, random number generators

Outline
Links
Whiteboards

Day 18: Assessing steadiness of drummers, cont'd

Outline
Links (change dot to .) Additional links to music clips added 5:20pm
Whiteboards

Day 17: Application of least-squares linear fitting: assessing steadiness of drummers

Outline
Links (change dot to .)
Whiteboards

Day 16: Polynomial interpolation and least-squares linear fitting

Outline
Whiteboards

Day 15: Polynomial interpolation

Outline
Whiteboards

Day 14: Newton's method in C, creating images, age-structured pop models

Outline
Whiteboards

Day 13

Outline
Whiteboards
Quiz 3: Question, Solution

Quiz 3

Quiz 3

Day 12

Notes
Links
Whiteboards

Day 11

Notes
Links
Whiteboards

Day 10

Notes
Whiteboards

Day 9

Links
Notes
Whiteboards

Solutions

Quiz #1 Solutions
HW #1 Solutions

Office Hours

I will be available to help you (Math Bldg Room 206) from 1:00-3:00pm on Mondays. (This time suits 17 out of 20 students, which is the best possible fit.)
You can also catch me after class on Tuesdays and Thursdays.
Chen Zhang, the TA, will hold office hours (Math Bldg Room 138) Wednesdays from 1:00-3:00pm.

Day 8

Whiteboards
Notes

Day 7

Whiteboards
Notes

Day 6

Whiteboards
Plan
Terminal script
Discrete dynamical system

Day 5

Whiteboards
Table of integers for Sieve of Eratosthenes.
Exercise 1

Day 4

Day 4 Plan: 337_day4_plan.odt
Maple procedures
Maple 2D plotting basics
Vector vs. raster graphics: Figure6.eps, Figure6.gif
Making an EPS plot with Maple: ps_plot.maple
Whiteboards

Day 3

Day 3 Plan: 337_day3_plan.odt
Unix command shell mini-lesson #2: transcript (redone because orginal one had extraneous characters for reasons I won't get into), unix_command_shell_primer.ods
Maple commands review
Exploring the natural numbers: gcd_illustration.ods

Day 2

Answer to question about Arrays
Day 2 plan
Day 2 pairs
unix_command_shell_ex1.odt
ex2_maple_programming.odt. Solutions
unix_command_shell_primer.ods
Maple as calculator: plain text version, Maple worksheet version
Maple as a programming language: plain text version, Maple worksheet version

Whiteboards

Thursday, Jan 17, 2008
Tuesday, Jan 15, 2008

Online channels

This website, the MTH 337 UBLearns channel accessed via ublearns.buffalo.edu, and a blog whose address can be found on UBLearns.

Software

We will use free software as much as possible. Here is the list.

Policies and Syllabus

Course structure and policies handout

Syllabus

Textbook

None. Materials will be provided online by the instructor.