- May 21 2008
- Course grades have been posted.
- May 12 2008
- Here is a study guide for the final. (ps,
pdf)
The final part of Project 6 uses two files: run.m
and parabola.m. They are both uncommented.
The script run.m contains eight tests of your SafeNewt
function. To get the proper output, you must modify SafeNewt
as follows.
1. Everywhere you have used
error('error message');
replace it with
disp(' ');
disp('error message')
return
2. In the loop of your function, just after you have found
c and calculated fc put the following code.
disp(' ')
disp([a,b,c]);
disp([fa,fb,fc]);
(If you have used different names for a, b, c, fa, fb, fc
change the above code accordingly.)
Execute run, collecting the result in a diary file. Then
edit the file to include your explanation of what each case is
testing. Hand in listings of your SafeNewt, the test cases
you used in testing it, and the annotated run file.
For this part of the project you are to work strictly on your
own. Do not communicate anyone (except me) about these test cases.
- Apr 24 2008
- On Homework 5 there were two questions, both of which I failed
to number. In problem 1 there was an m(i) should
have been mult(i). Corrected versions of the
homework have been posted.
- Apr 22 2008
- Here is a script to run your programs for Homework 5:
p5run.m
- Apr 21 2008
- In equation (4) of project 5, the matrix on the left
is
(B2 b-B1*y1)
not
(B2*b -B1*y_{1})
- Apr 17 2008
I have reposted Project 5 with some changes.
1. On page 1, two d's have been corrected b's.
2. On page 3 after equation (4), sigma has been replaced by
abs(sigma).
3. "You should also check that Cx=d to working accuracy."
has been added to the next-to-last paragraph.
- Apr 15 2008
Class is canceled today.
- Apr 10 2008
- There was an error in Problem 2 of Homework 4. Please reload
the homework from the assignment page. (You may have to
empty your browser cache to get the corrected version.)
- Apr 9 2008
- The last entry should read: On Project 4 take n=5 in the
invmult part. All printouts should be in the Matlab short
e format.
- Apr 8 2008
- On Project 5 take n=5 in the matmul part. All printouts
should be in the Matlab short e format.
For tar file containing the programs for Project 3 click here.
- Apr 7 2008
- On page 129 of the Afternotes, line 6 from the bottom,
rand should be randn.
The midterm and answers are in assigments page.
Conserning project 4 (due Thursday), you should also
submit your scripts.
- Mar 27 2008
- Project 3: If you are confused about how to interpret the
plots, google log log.
- Mar 25 2008
- The matrix in equatons (3) in the project does not agree with
the equation before it, which is correct. I have posted a
corrected version of the writeup.
There will be no class on Tuesday April 1 (no fooling).
Put your project 3 in my mailbox in the AVW Mail Room by
1:45p Friday March 28.
- Mar 20 2008
- In the description of ggen in Project 3 should
read
S is the vector of the s's in (2), F is the name of the function f
in the integrand ...
Also in the script in Figure 1, take fun to be
the function that evaluates 1 + x^2.
- Mar 19 2008
- A study guide for the midterm has been posted:
(ps, pdf).
- Mar 11 2008
- There are some misprints in problem 3 of Homework 3.
Please reload the homework.
There will be no homework assignment this week.
- Mar 6 2008
- Project 3 has been posted. After posting I noticed that
it was due the same day as the midterm. Hence I have
let the deadline slip a day, and you will turn in
your project on March 28.
Some people have been asking about how they should submit
Homework 3, which is due on March 13, when there will be no
class. You should put your homework in my mail box in AV
Williams before 1:45 on the 13th.
- Mar 4 2008
- The tenth line on page 2 of Project 3 to should read,
`where n is the number of points in the refined grid xx.'
- Mar 3 2008
- On the first line of page 3 in Project 2
If x at xt
should read
If x and xt
- Feb 21 2008
- Project 2 has been posted.
- Feb 18 2008
- The due date for Project 1 is 2/21, not noon 2/21. You will
hand it in in class.
In problem 1 of Homework 2, you are to bound the error for
quadratic (not cubic) interpolating polynomial.
- Feb 14 2008
- Homework 2 has been posted.
The reference for the barycentric interpolation formula is
Berru and Trefethen, Barycentric Langrange Interpolation,
SIAM Review, 46-1 (2004) 501-517. You shold be able to
download it through the electronic journals link in
the university library home page.
- Feb 7 2008
- Project 2 has been posted.
- Feb 5 2008
- Afternotes is now available in both postscript and pdf.
- Feb 4 2008
- In the links section of the class page, I have added a link to
my book Afternotes on Numerical Analysis. Although it
was written for the course 466, it has much material that
relates to 460. In particular, you may find it useful as a
supplement to the current topic of errors.
- Feb 1 2008
- Homework 1 has been posted. Click the assignments link
to get it.
- Jan 31 2008
- Welcome to the class news for 460. Those of you who do
not have glue accounts should request one before Friday.