Lecture16Summary - E7: Intro to Computer. . . Lectures...

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

View Full Document Right Arrow Icon
E7: Intro to Computer. . . March 31, 2008
Background image of page 1

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

View Full DocumentRight Arrow Icon
. . . Announcements. . . For this week read: Class Notes Class Book Chapra II, Roots and Optimization Prof. T.W. Patzek’s E7 Lecture 16: . . . – p.1/25
Background image of page 2
. . . Today’s and Next Lectures. . . We will learn about Roots of nonlinear functions Function handles The bisection method The Newton’s method Prof. T.W. Patzek’s E7 Lecture 16: . . . – p.2/25
Background image of page 3

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

View Full DocumentRight Arrow Icon
Files to download. . . showbisection.m demonstrates how the bisection method works. shownewton.m demonstrates how Newton’s method works. funcd.m is a cubic polynomial used by the showbisection and shownewton demos. rootbisection.m finds a previously bracketed root of a function using the bisection method; based on the Numerical Recipes in C . rootnewton.m using a close enough guess for a root, find the root using Newton’s method; based on the Numerical Recipes in C . Prof. T.W. Patzek’s E7 Lecture 16: . . . – p.3/25
Background image of page 4
. . rootsafe.m in an interval [ x 1 , x 2 ] containing a root, find the root using a combination of bisection and Newton’s method; based on the Numerical Recipes in C . PlotZCubed Plots the three complex roots of z 3 1 . domains.m plots the naïve domains of attraction of all three roots of f ( z ) = z 3 1 , where z is the complex variable. truedomains.m finds the complex roots of f ( z ) = z 3 1 for a very fine grid of initial guesses on an ( x, y ) -square between -1 and 1 (a unit square on the complex plane), thus generating the beautiful Julia fractal for the true domains of influence of each root. Prof. T.W. Patzek’s E7 Lecture 16: .
Background image of page 5

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

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

Page1 / 26

Lecture16Summary - E7: Intro to Computer. . . Lectures...

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

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