Integrates the ODEs from time 0 to
tF. Reports the function values
at t*.
The embedded ODE's are:
x' = -a²b sin(2bt) ⁄
[1 + a²cos²(bx)]²,
with given initial values.
This applies, from Python:
for integration, 'scipy.integrate' odeint; and,
for optimization, minimize.
Draws a plot of the integrated functions.
Computation structure: a PHP file
(this page: 'P.ivp.php') calls (via
'action=...') an intermediate PHP file ('Ivp.php'), which
(through $_POST) sends the problem data as command line arguments to
a Python script. This last does the computing, and makes
'system' call(s) to 'gnuplot', for the final (temporary) web page.
Keywords: ODEs one; reverse kinetics;
Python; gnuplot. |