home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / demo / ode.zoo / stag.ode < prev    next >
Text File  |  1990-01-04  |  256b  |  15 lines

  1. # STAG.ODE
  2. # Stagnation point flow in fluid dynamics.
  3. # Try to find initial g2 such that g1 tends to 1 as t gets large.
  4.  
  5. $m -5
  6. $t 20
  7. $n 200
  8.  
  9. g   = 0
  10. g1  = 0
  11. g2  = 1.23225    # This is quite close !
  12. g'  = g1
  13. g1' = g2
  14. g2' = sqr(g1) - g*g2 - 1
  15.