1 C fortran code generated from runge.template
7 write(6,*) 'Initial Value of p'
10 write(6,*) 'Initial Value of q'
13 write(6,*) 'Value of m'
16 write(6,*) 'Value of k0'
18 write(6,*) ' k0 = ', k0
19 write(6,*) 'Value of b'
22 write(6,*) 'Step Size of t'
24 write(6,*) ' Step Size of t = ', hh
25 write(6,*) 'Final Value of t'
27 write(6,*) ' Final Value of t = ', tp
33 gentran( literal(tab, "write(9,*) ' h = ", eval(h), "'", cr),
34 literal(tab, "write(9,*) ' d = ", eval(d), "'", cr) )$
37 901 format(' c= ',e20.10)
39 910 format(' ',3e20.10)
44 gentran( unless tt >= tf do
46 rsetq(pn, ev(pn,expand)),
47 rsetq(q, ev(qn,expand)),
50 literal(tab, "write(9,910) tt, q, p", cr)