assign6 - , x 1 = 1 . (d) Which of these methods converges...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ASE 211 Homework 6 Due: In class, Monday, March 7th. 1. Consider the nonlinear function f ( x ) = 3 x +3 x 5 5 - 2 . Suppose we want to find a positive real root for this function. (a) Take 4 iterations of the bisection method by hand starting with the initial interval [ - 1 , 1] . (b) Apply 4 iterations of Newton’s method by hand with initial guess x 0 = 0 . (c) Apply 4 iterations of the Secant method by hand with initial guesses x 0 = 0
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , x 1 = 1 . (d) Which of these methods converges fastest? Rank the methods. 2. Write a matlab code newton.m which implements Newtons method (as discussed in class). Test your code on the function in problem 1 with initial guess x = 0 . Take your tolerances f tol and x tol to be 10-5 and set the maximum number of iterations to 100. Submit the mle and the diary....
View Full Document

This note was uploaded on 03/20/2008 for the course ASE 211 taught by Professor N/a during the Spring '08 term at University of Texas at Austin.

Ask a homework question - tutors are online