program main
!====================================================================
! Initial value problem for a single 1st-order ODE
! Call Methods: Euler, Predictor-Corrector, Runge-Kutta 4th order
!====================================================================
implicit none
double precision dx, dt, xi, ti, xf, tf, tmax
integer i, key
external dx
! open files (if needed)
!open (unit=6, file='result1.dat')
! initial conditions
xi = 1.00
ti = 0.00
! "time" step and max time
dt = 0.1
tmax = 2.0
! select a method:
! key=1...