Integrates the ODEs.
Reports the function values at t*.
Compares with known function.
(Not shown: the 2 embedded ODEs) With the
default data, the expected IVs are: (7.6214, 4.3786).
This applies, from Python:
for integration, 'scipy.integrate' odeint; and,
for optimization, minimize.
Draws a plot of the integrated and known
functions.
Computation structure: a PHP file
(this page: 'P.analyt.php') calls (via
'action=...') an intermediate PHP file ('Analyt.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 two; analytical;
solve_ivp; Python; gnuplot. |