Lecture16Summary - E7 Intro to Computer Lectures 16&17 Root...

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

View Full Document Right Arrow Icon
E7: Intro to Computer. . . Lectures 16&17: Root Finding Tad Patzek, Civil & Environmental Engineering, U.C. Berkeley March 31, 2008
Image of page 1

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

View Full Document Right Arrow Icon
. . . Announcements. . . For this week read: Class Notes E7Lectures 16&17 Class Book Chapra II, Roots and Optimization Prof. T.W. Patzek’s E7 Lecture 16: . . . – p.1/25
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
Image of page 3

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

View Full Document Right 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
Image of page 4
Files to download. . . 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.
Image of page 5

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern