MAT 362, Professor Swift

MAT 362, Numerical Analysis

Prof. Swift, Spring 2015

syllabus     homework and projects     exams

Instructor information, including contact information. My office hours are MWF 11:15-12:15 and WTh 3-4 in AMB 110. Here is my weekly schedule. You can always send me e-mail, drop in, or make an appointment if these times aren't convenient.

Here is a link to NAU policy statements. These math department policies are part of the syllabus for our course.

Here are eratta for the textbook.

This is a great webcast introducing you to Mathematica. Here is part 2. I suggest you look at it even if you know about Mathematica.

Chart of letters of the Greek alphabet.


The current Problem of the Week. You get extra credit for our course from points earned in the problem of the week.
Flyer for FAMUS (Friday Afternoon Undergraduate Math Seminar): Friday at 3 pm in AMB 164.

Figures and Help in reverse Chronological Order

Friday, April 24
Meet in computer lab, AMB 222. Run the JOde program. Hint: The Java runs in IE. To use Chrome do this:
Type the following in the Chrome address bar and then click enable for the NAPI plugin:
chrome://flags/#enable-npapi
Chrome needs to be restarted and Java allowed for the site within Chrome.
Here is a Mathematica notebook EulersMethod.nb that you can use as a starting point for the homework.
Here is a pfd with some comparison of the different methods: RK4etc.pdf.

Monday, April 20
Handout on Euler's method with a graphing calculator.

Friday, April 17
Here is a scan of Theorem 5.3 + 5.4 examples.
Bring your calculators on Monday.

Wednesday, April 15
Solutions of Initival Value Problems using Marek Rychlik's JOde suite of programs for solving differential equations.

Monday, April 6
Here are the files you may start with to do Project 2: numInt.nb, the Mathematica notebook or numint.txt, the MATLAB file (save as numint.m). You can also use any other computer language.

Friday, April 3
No office hours. Meet in the computer lab (AMB 222).

Wednesday, April 1
Here is a Mathematica notebook about Gaussian quadrature. I didn't show it in class.

Monday, March 30
Scan of correction to Friday's Notes: Trapezoid Rule For Linear Functions.

Monday, March 23
Mathematica notebook ThreePointDerivative.nb.

Monday, March 9
Here is a scan of the way Dr. Swift thinks about Bezier curves.
Here is a page from the Postscript Languge Manual on curveto, the Bezier curve command. Here is a sample postscript file, sample.eps. You can edit this to do the homework if you want! A good tutorial for postscript is learn postscript by doing

Friday, March 6
Here are some demonstrations of cubic Bezier curves: A single Bezier curve, followed by two Bezier curves with a common endpoint, and two Bezier curves with a smooth join.

Mathematica Notebook about Bezier curve in 1D.
Bezier Curve Pseudocode from the book. Here is a Bezier curve notebook, Bezier2D.nb in Mathematica. You can modify this to do the homework on section 3.6.

Wednesday, March 4
Cubic splines notebook with the n = 1, clamped spline solved for any function.

Monday, March 2
Class canceled due to snow!

Wednesday, February 25
Mathematica notebook about linear splines, quadratic splines, and cubic splines.

Friday, February 20
Mathematica notebook about Lagrange Polynomials with Divided Difference Tables. This demonstrates the method of divided differences. Here is a scan of the divided differences tables.

Wednesday, February 18
Mathematica Notebook about Lagrange Polynomials.

Wednesday, February 11
OrderOfConvergence scan of Mathematica Notebook.

Monday, February 2
Mathematica notebook for Fixed Point iteration, iteratedMat1.nb.

Wednesday, January 21
My office hours are changed. They are now MWF 11:15-12:15, WTh 3-4

Friday, January 16
Wikipedia page of half-precision floating point format.

A quick calculation about roundoff error: 22/7 is a good approximation to π. In fact, 22/7 - π = 0.00124... .
Using 3-digit rounding, 22/7 (-) π = 0, which has 100% relative error! This happens even though the relative error of approximating 22/7, or π, using 3-digit rounding is less than 0.1%.
Using 4-digit rounding, 22/7 (-) π = 10-3, which has 21% relative error!
Moral: Roundoff error can be huge when you subtract 2 close numbers.

Wednesday, January 14
Here is an example of finding the max of |x^3 - x^2 - x| on the interval -1 ≤ x ≤ 1.
Here are Mathematica demonstrations of the Taylor polynomials for 1/(1-x) and sin(x).
Here is a picture of some partial sums of the power series ln(1+x) = x - x2/2+x3/3 - x4/4 + ... . The series converges iff -1 < x <= 1.
Here is a picture of some partial sums of the power series 1/(1+x2) = 1 - x2 + x4 - x6 + x8 - ... . The series converges iff -1 < x < 1.
Here is a picture of some partial sums of the power series arctan(x) = x - x3/3 + x5/5 - x7/7 + x9/9 - ... . The series converges iff -1 <= x <= 1.
Here is a picture of some partial sums of the power series cos(x) = 1 - x2/2 + x4/4! - x6/6! + ... . The series converges for all x.


Blank Page     MAT 362 Home Page     Homework and Projects     Exams
Instructor Information     Jim Swift's home page     Department of Mathematics     NAU Home Page
e-mail: Jim.Swift@nau.edu