MATH2071_2000 - Numerical Methods in Scientific Computing II
Click here for course guidelines.
Click here for the online schedule.
Click here for a record of
assignments received.
There is a series of exercises to be done in the lab:
Some useful files:
Algorithm files for lab 1:
Algorithm files for lab 2:
Algorithm files for lab 3:
Algorithm files for lab 4:
Algorithm files for lab 5:
-
ABM3_PECE.M, ABM3 solver, using PECE method;
-
BDF2_NEWTON.M, BDF2 solver, using Newton's method;
-
BE_NEWTON.M, backward Euler solver, using Newton's method;
-
BE_PECE.M, backward Euler PeCe code;
-
BUMP_ODE.M, y' = - y^2;
-
MINUS_ODE.M, y' = - y;
-
STIFF_ODE.M, a "stiff" ODE;
-
STIFF_ODE_PARTIAL.M, more information about a "stiff" ODE;
-
TRAPEZOID.M, trapezoid PeCeCe code;
Algorithm files for lab 6:
Algorithm files for lab 7:
-
DETERMINANT.M, computes the determinant, the hard way;
-
DIF2_INV.M, sets up the inverse second difference matrix;
-
FRANK.M, sets up the Frank matrix;
-
FRANK_INV.M, sets up the inverse Frank matrix;
-
GE_CP.M, Gauss elimination, complete pivoting;
-
GE_NP.M, Gauss elimination, no pivoting;
-
GE_PP.M, Gauss elimination, partial pivoting;
-
HILBERT.M, sets up the Hilbert matrix;
-
HILBERT_INV.M, sets up the inverse Hilbert matrix;
-
NEXT_PERM.M, returns the next permutation;
-
PERM_SIGN.M, computes the sign of a permutation;
Algorithm files for lab 8:
-
P_DET.M, computes the determinant of a permutation matrix;
Algorithm files for lab 9:
Algorithm files for lab 10:
Algorithm files for lab 11:
-
JACOBI_DIF.M, the Jacobi iteration matrix for the difference matrix;
-
LESP.M, returns a (full storage) Lesp tridiagonal matrix;
-
MARKOV.M, the Markov matrix;
-
RANDOM_TRI.M, returns a (full storage) random tridiagonal matrix;
-
SEIDEL_DIF.M, the Gauss-Seidel iteration matrix for the difference matrix;
-
SPLINE_TRI.M, returns a (full storage) tridiagonal matrix used in spline interpolation;
-
TRI_DIF2.M, returns the compact difference tridiagonal matrix;
-
TRI_FACTOR.M, factors a compact tridiagonal matrix;
-
TRI_LESP.M, returns the compact Lesp tridiagonal matrix;
-
TRI_RANDOM.M, returns a random compact tridiagonal matrix;
-
TRI_SOLVE.M, solves a compact tridiagonal system;
Algorithm files for lab 12:
Last revised on 09 April 2000.