Solution Manual for: Numerical Computing with MATLAB by Cleve B. Moler
John L. Weatherwax July 25, 2007
Chapter 7 (Ordinary Differential Equations)
Problem 7.1
Defining the vector y as v u y= v u (1)
MAE 107 Problem JDG-NA01 1.) In the Matlab command window, construct an mn matrix A = [Aij ], say, A, in Matlab notation, with m, n each being approximately three or four and not necessarily equal, an
MAE 107 Problem JDG-NA02 1.) As the first step in Gaussian elimination, i.e. reduction of a given m n matrix A to row echelon form with pivoting, one normally exchanges a pivot row rT (A), whose leadi
MAE 107 Problem JDG-NA03
1.) Write a Matlab function cpucomp that will compare the required CPU time (on whatever platform is used) for solution of the n 1 linear equation Ax = b by means of the Matla
MAE 107 Problem JDG-NA04 1.) Download the necessary M-files from the course website or the Mathworks website:
http:/www.mathworks.com/moler/ncmfilelist.html
and work Moler Problems 3.1, 3.2, 3.3, 3.4,
Midterm Examination MAE 107 Sp09 (Open book and notes. No laptop computers or communication devices are allowed.)1 1.) (25 %) Given the matrix: 1 2 3 A= 6 5 4 7 8 9 a.) write down a single-line Matlab
Definition 1: Suppose (h) 0 as h 0, (h) 0 for all h 0. Suppose that there exists C <
and > 0 such that
|f (x)| C(x), x [0, ]
Then, f (x) = O (x) as x 0.
Definition 2: Suppose (h) 0 as h , (h) 0. Supp