1 / 8

ME 142 Engineering Computation I

ME 142 Engineering Computation I. Root Finding & Iterative Solutions. Using a Graph to Find Roots. Approximate process May be used as a starting process to an iterative method May want to refine axis max/min values to focus on plot on area of interest. Using a Graph to Find Roots.

charliner
Download Presentation

ME 142 Engineering Computation I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ME 142Engineering Computation I Root Finding & Iterative Solutions

  2. Using a Graph to Find Roots • Approximate process • May be used as a starting process to an iterative method • May want to refine axis max/min values to focus on plot on area of interest

  3. Using a Graph to Find Roots

  4. Bisection Routine • Begin with initial guess: xlow, xhi • Calculate corresponding f(x): f(xlow), f(xhi) • f(xlow)*f(xhi)<0, to ensure root lies within interval • Estimate Root and calculate corresponding f(xroot) • Determine subinterval of root • If f(xlow)*f(xroot)<0, set xhi=xroot • If f(xlow)*f(xroot)>0, set xlow=xroot • Repeat Steps 3-4 until desired tolerance is reached

  5. Bisection Routine Determine subinterval of root If f(xlow)*f(xroot)<0, set xhi=xroot If f(xlow)*f(xroot)>0, set xlow=xroot

  6. Goal Seek Function • Begin with initial guess • “x” value • Define function, f(x), related to initial guess • Use Goal Seek function to find root

  7. Goal Seek Function

  8. Goal Seek Function • Accuracy of Goal Seek function can be controlled in Excel Options • You may need to set the following: • Maximum Iterations • Maximum Change

More Related