Euler's Method for Numerical Solution to Differential Equations

a numerical technique for building a solution n.w
1 / 11
Embed
Share

"Learn how Euler's method utilizes local linearity to approximate solutions to differential equations iteratively. Explore the step-by-step process and implications of choosing step sizes for accuracy. Discover how this method helps build solutions graphically with examples."

  • Eulers Method
  • Differential Equations
  • Numerical Techniques
  • Approximation
  • Graphical Solutions

Uploaded on | 3 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. A Numerical Technique for Building a Solution to a DE or system of DE s

  2. Eulers Method Suppose we know the value of the derivative of a function at every point and we know the value of the function at one point. We can build an approximate graph of the function using local linearity to approximate over and over again. This iterative procedure is called Euler s Method.

  3. Eulers Method Here s how it works. We start with a point on our solution. . . . . . and a fixed small step size t. . . . then we project a small distance along the tangent line to compute the next point, . . . t . . . and repeat!

  4. Projecting Along a Little Arrow ( , t y ) 1 1 y t ( , t y ) 0 0

  5. Projecting Along a Little Arrow ( , t y ) 1 1 dy dt= ( , f t y ) 0 0 slope y = slope t = f (t0,y0) t t ( , t y ) 0 0

  6. Projecting Along a Little Arrow ( , t y ) 1 1 dy dt= ( , f t y ) 0 0 slope = (t0 + t , y0+ y) = (t0 + t , y0+f (t0,y0) t) t ( , t y ) 0 0

  7. Projecting Along a Little Arrow ( , ) t y new new = slope ( , ) f t y old old = (told + t, yold+ y) = (told + t, y0+ f (told , yold) t) ( , ) t y old old

  8. Summarizing Eulers Method dy dt= You need a differential equation of the form , ( , ) f t y an initial condition (t0,y0), A smaller step size will lead to more accuracy, but will also take more computations. and a fixed step size t. tnew = told + t ynew = y0+ f (told , yold) t

  9. For instance, if dy dt= 2 sin( ) t and (1,1) lies on the graph of y, then 1000 steps of length .01 yield the following graph of the function y. This graph is the anti-derivative of sin(t 2); a function which has no elementary formula!

  10. Exercise dy dt= 2 t y Start with the differential equation , the initial condition , and a step size of t = 0.5. ( ) 0 0 , (2,1) t y = Compute the next two (Euler) points on the graph of the solution function.

  11. Exercise tnew = told + t ynew = y0+ f (told , yold) t dy dt= 2 t y Start with the differential equation , the initial condition , and a step size of t = 0.5. ( ) 0 0 , (2,1) t y = ( , ( , t y ) = = (2 (2,1) + t y 0 0 .5,1 + 2(.5)) = (2.5, 2) ) 1 1 ( , t y ) =(2.5 + .5, 2 + 10(.5)) = (3, 7) 2 2

Related


More Related Content