1 / 6

Solve ODEs by the Euler method using Frotran (9-3)

P lasma A pplication M odeling, POSTECH. Solve ODEs by the Euler method using Frotran (9-3). J.H. Kang and J.K. Lee. 2005. 10. 04. Solve the following set of first-order ODEs by the forward Euler method with and :. P lasma A pplication

armand
Télécharger la présentation

Solve ODEs by the Euler method using Frotran (9-3)

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. Plasma Application Modeling, POSTECH Solve ODEs by the Euler method using Frotran (9-3) J.H. Kang and J.K. Lee 2005. 10. 04

  2. Solve the following set of first-order ODEs by the forward Euler method with and : Plasma Application Modeling, POSTECH 9-3

  3. Plasma Application Modeling, POSTECH Exact Solution Exact solution

  4. Plasma Application Modeling, POSTECH Code subroutine ode(y0,z0,y,z) real y0,z0 real y(1600),z(1600) real dx integer N common /a/ N,dx y(1) = y0 z(1) = z0 do 130 i=2,N y(i) = y(i-1) + dx*z(i-1) z(i) = z(i-1) - dx*y(i-1) 130 continue end

  5. Plasma Application Modeling, POSTECH Result (1) - Solution Error

  6. Plasma Application Modeling, POSTECH Result (2) - Solution Error

More Related