ASE 211 - Homework 6 Due Mar. 5

# ASE 211 - Homework 6 Due Mar. 5 - x = 0 x 1 = 1 d Which of...

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

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 ﬁnd 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
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 Newton’s 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 mﬁle and the diary....
View Full Document

## This note was uploaded on 09/18/2011 for the course ASE 211 taught by Professor N/a during the Spring '08 term at University of Texas.

Ask a homework question - tutors are online