Problem 1
Illustrate the effect of round-off error in adding up numbers of differing magnitudes. Do not use a calculator or a computer, instead do everything here by hand. Assume that all arithmetical operations are rounded to 3 digits at each step. The r
ASSIGNMENT 3
Due February 18, 2003
Homework 3 Do exercise 2.21 on p. 98 of our textbook. Describe what you should do to compute x most efficiently. Assuming that you are given the following matrices and vector, write a script file to compute x using only
ASSIGNMENT 4
Due February 25, 2003
Homework 4 Do computer problems 5.3 and 5.4 on p. 250 of our textbook. Use the appropriate functions provided on by website and compare with the results obtained by using Matlab's own rooting finding routine. You need to
1
Forward Difference Formula for the First Derivative
We want to derive a formula that can be used to compute the first derivative of a function at any given point. Our interest here is to obtain the so-called forward difference formula. We start with the
1
Computing A B
Let A be an n by n matrix, and x and B be both n by m matrices. Supposed matrices A and B are given, and we want to solve the linear system of equations AX = B for X. In component form this equation is
n
-1
Aij Xjk = Bik .
j=1
2
Therefore