This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: r that encodes the permutation, without explicitly switching the rows. Redo problem #2 as a test. (4) Consider the matrix A = 2 7 5 6 20 10 4 3 . Using your Matlab program, solve linear systems with the matrix A and (a) b = 14 36 7 . (b) b = 4167 . (c) b = 312 6 . (5) Write a Matlab function that implements the secant method. Your implementation can use three function evaluations for the rst iteration. But the later iterations must use just one function evaluation. Use your secant method to solve the following problems: (a) Finding 2 to 14 or more digits of accuracy. 1 2 (b) Finding 3 3 to 14 or more digits of accuracy. (c) Improve the approximation given as x 4 . 965 on p.103/104 of the textbook to 14 or more digits of accuracy....
View
Full
Document
 Fall '08
 KRASNY
 matlab

Click to edit the document details