hw _4 - 650:231 M.E. Computational Analysis and Design...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
650:231 M.E. Computational Analysis and Design Homework #4: Finding the Roots of f(x) 1 . [6 pts.] Fixed point Iteration for Two obvious candidates for fixed-point iteration functions are , and . (a) First, plot for 0<x<30. Verify that f(x)=0 has two roots: one near x=1.5 and another near x=21. All of the above three iteration formulas converge to these roots given reasonable initial guess. Demonstrate graphically the solution procedure of the successive substitution method following the instruction below: (b) Rearrange the above equation to the form and plot the curve and y=x for 0<x<30. (c) Illustrate the iteration procedure in the fixed-point iteration method starting at x=20. The plot for the curves y= and y=x with the initial guess of x=20 looks like Fig 1. Fig 1. Does this converge? If so, to which value does this converge? (d) Based on program my_fixpt of LA#4_Pr#1, write a MATLAB function m-file for the fixed-point iteration using , whereis the generic function to be used in the fixed point iteration such as above. In the program include: 1) Plot of y=x and
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
650:231 M.E. Computational Analysis and Design 2) Plot of a sequence of vertical line (, 0) to (, horizontal line to , , where vertical line , to , horizontal line , to ,, where using dotted lines as in Figures 2.4 and 2.5 of LA #4_Pr#1. (e)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/22/2011 for the course PSYC 311 taught by Professor Mayhew during the Fall '11 term at Rutgers.

Page1 / 6

hw _4 - 650:231 M.E. Computational Analysis and Design...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online