Integrates the ODEs.
Reports the function values at t*.
Compares with known function.
The embedded ODE:
x' = #ETC. -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 and known
functions.
Computation structure: a PHP file
(this page: 'P.check.php') calls (via
'action=...') an intermediate PHP file ('Check.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; solve_ivp;
Python; gnuplot. |