rk4.dat 141 B

123456789101112
  1. # No. of a problem
  2. 1
  3. # Initial time
  4. 0
  5. # Final time
  6. 1
  7. # Solution is x(t) = (cos(t),-sin(t))
  8. # x(0) =
  9. Vector: dim: 2
  10. 1 0
  11. # Step size
  12. 0.1