Matematik och Datavetenskap, Chalmers Tekniska Högskola och Göteborgs Universitet

ALA-B, 2001, studio 2.1

Home, w 1, w 2, w 3, w 4, w 5, w 6, w 7. Matlab: analysis, linear algebra, facit.

Newton's method - the conclusion

The purpose of this exercise is to finish the work on Newton's method. You will master this algorithm by computing it by hand on two simple systems of equations and then by computing it by you own program.

1. Make sure that you now have the two programs jacobi.m and newton.m and that you understand how they work. Copy and paste the program jacobi.m at the end of newton.m so that the two programs are in the same file.

2. Solve exercise 90.5 from Lecture 1 by hand. Make sure you understand all details. Then solve it with your program newton.m. Remove the semicolon from some lines in the program so that you can check that the program computes the same thing in every step as you computed by hand. Check that the residual, the jacobian, and the increment h are the same. Choose several initial approximations and make sure you find all solutions of the system.

Do the same with exercise 90.6.

3. If you have time, then continue with Studio 2.2: Linear algebra in R3.

/stig


Last modified: Mon Nov 5 18:17:11 MET 2001