ASE 211 - Homework 6 Due Mar. 5

ASE 211 - Homework 6 Due Mar. 5 - x = 0 , x 1 = 1. d) Which...

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, Wednesday, Mar. 5 th . 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
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 = 0 , 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 tol f and tol x to be 10-5 and set the maximum number of iterations to 100. Submit the mle and the diary....
View Full Document

Ask a homework question - tutors are online