HW_02-10-F - ChE 348 Homework # 2 _Due: Thursday, 16...

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

View Full Document Right Arrow Icon
ChE 348 Homework # 2 _________________________________________________Due: Thursday, 16 September 2010 Bisection Method 1. Do three steps (by hand) of the bisection method for f(x) = x 3 – e - x , using initial guesses of your choice. 2. Write a MATLAB script to use bisection to find a root of a general function f(x) on the interval a < x < b . Assume that there is one and only one simple root in this interval. Input parameters should be a , b and the maximum allowable error in the root. Verify the general program by finding the positive root of f(x) = x 3 – e - x . This function has one and only one simple root located at x = 0.77288. (Set the initial interval carefully.) Newton’s Method 3. Using Newton’s method, find the root of the following equation. (Do three iterations by hand with the given initial guesses, and write down corresponding errors). f(x) = x 2 – sin x , x 0 = 1/2 4. Write a MATLAB script to use Newton’s method to find a root of a general function f(x) . Assume that the method will converge to a root. Input parameters should be an initial guess
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

HW_02-10-F - ChE 348 Homework # 2 _Due: Thursday, 16...

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

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