©
Area between polynomials
Computes the area "between" polynomials.
2024.Jul.03 13:24:27
Extremes Lower and upper x's
First polynomial Coefficients a (in a0xm, a1xm-1...)
Second polynomial Coefficients b (in b0xn, b1xn-1...)
Points N. of points in plot
Show values Show graph coordinates.

Calculates the area between the curves of two given polynomials (m, n: degrees, any ≥ 0)

Accessorily, computes (a) the roots of the polynomials, and (b) the arc lengths of the polynomials.

Advantage is taken from: PHP, for the web page; and Python for the numerical segment; and 'gnuplot', for plotting.

Draws plots of the polynomials and of the (progressive) area.


Computation structure — A PHP file (this page: 'P-geoAreas.php') calls (via 'action=...') an intermediate PHP file ('GeoAreas.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.

Files involved: P-geoAreas.php (this one), GeoAreas.php, geoAreas.py.

Keywords: PHP, command line arguments, Python script, gnuplot.

References: Plate: GeoAreas

• (Wikipedia) PHP (from Personal Home Page)

• Python curve_fit [in Optimization and root finding (scipy.optimize)], accessed 25-Oct-2023.

• CISTI'2024, 19.ª Conferencia Ibérica de Sistemas y Tecnologías de Información (19.th Iberian Conference on Information Systems and Technologies), Salamanca (Spain), 25–28 June 2024.

• 1894-11-26: Wiener, Norbert (†1964-03-18, 69 yrs.).

 
 
Valid HTML 5! IST http://web.tecnico.ulisboa.pt/~mcasquilho/compute/explore/geoAreas/P-geoAreas.php
Created: 2023-11-26 — Last modified: 2024-06-02