**reaction_twoway_ode_test**,
a MATLAB code which
calls reaction_twoway_ode(), which
defines the ordinary differential equations (ODE) which model a
chemical reaction involving two species.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

reaction_twoway_ode, a MATLAB code which defines the ordinary differential equations (ODE) which model a chemical reaction involving two species.

- reaction_twoway_ode_test.m, calls all the tests.
- reaction_twoway_ode_test.sh, runs all the tests.
- reaction_twoway_ode_test.txt, the output file.

- euler.m, an euler method ODE solver.
- reaction_twoway_midpoint.m, uses euler() for the solver.
- reaction_twoway_euler_conservation.png, displays the conserved quantity.
- reaction_twoway_euler_solution.png, displays the solution.

- midpoint.m, an implicit midpoint method ODE solver.
- reaction_twoway_midpoint.m, uses midpoint() for the solver.
- reaction_twoway_midpoint_conservation.png, displays the conserved quantity.
- reaction_twoway_midpoint_solution.png, displays the solution.

- reaction_twoway_ode45.m, uses ode45() for the solver.
- reaction_twoway_ode45_conservation.png, displays the conserved quantity.
- reaction_twoway_ode45_solution.png, displays the solution.

- trapezoidal.m, an implicit trapezoidal method ODE solver.
- reaction_twoway_trapezoidal.m, uses trapezoidal() for the solver.
- reaction_twoway_trapezoidal_conservation.png, displays the conserved quantity.
- reaction_twoway_trapezoidal_solution.png, displays the solution.