This preview shows page 1. Sign up to view the full content.
Unformatted text preview: B . (b) Write the result as a product of three matrices, including B . (6) ( Matlab ) Solve Bradie p. 113, #12, using Matlabs fsolve() . Use inline as shown in the class. MATLABs tolerances do not seem to work in a predictable fashion. Use opts = optimset ( TolX , 1e4, TolFun , 1e4); and then pass opts as the third argument to fsolve() . Then change both tolerances to 1e12 and repeat. You can get a sense of the accuracy of the computation by applying the inline function to the answer returned by fsolve() . The exact answer to 50 digits is found out using the following MAPLE script: >Digits := 50; 50 >ans:= fsolve (x^3+2 * x^23 * x1=0): >ans [ 1 ] ;2.9122291784843966150137869321385334285735629937890 1...
View
Full
Document
This note was uploaded on 12/16/2011 for the course MATH 371 taught by Professor Krasny during the Fall '08 term at University of Michigan.
 Fall '08
 KRASNY
 Math

Click to edit the document details