home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / demo / ode.zoo / airy.ode next >
Text File  |  1990-01-04  |  199b  |  17 lines

  1. # AIRY.ODE
  2. # Airy differential equation
  3. # Plot y against x.
  4.  
  5. # Use 4th order Runge-Kutta, auto step size
  6. $m 4
  7.  
  8. # Solve to 20
  9. $t 20
  10.  
  11. x  =  0
  12. y  =  1
  13. z  = -1
  14. x' =  1
  15. y' =  z
  16. z' = -x*y
  17.