# Math865L_example1.ode (XPPAUT file) written by Chiu-Yen Kao # This is an XPP file to numerically integrate the equations in p.19 # in the first handout : Ch3 Mathematical and computational modeling tools # SYSTEM OF EQUATIONS dA/dt = -k1*A*B^2+k2*C dB/dt = -2*k1*A*B^2+2*k2*C dC/dt = k1*A*B^2-k2*C # PARAMETERS parameter k1=0.5 parameter k2=0.3 # INITIAL CONDITIONS init A=2.0,B=1.5, C=1.0 # CHANGES FROM XPP'S DEFAULT VALUES @ TOTAL=1.0,DT=0.01,XLO=0.0,XHI=1.0,YLO=-2.5,YHI=2.5 done