Computes the evolution
by integrating its ODEs, from given initial values.
It is:
x' = −y − z;
y' = x + a y;
z' = b + z(x − c).
Integration is by Python 'scipy' module solver solve_ivp.
Files involved:#
P-kinetSet.php (this one),
KinetSet.php,
kinetSet.py.
Draws plots of the integrated functions vs. time.
Python file (download): rossler.py
Computation structure — A PHP file
(this page: 'P-Rossler.php') calls (via
'action=...') an intermediate PHP file ('Rossler.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) webpage.
Keywords: PHP, command line arguments,
Python script, gnuplot. |