©
Mean radius of ellipse
Computes the mean radius of an ellipse. UNDER CONSTRUCTION
2024.Jul.03 19:22:51
Semi-axes Semi-axes: a (horizontal) and b (vertical).
Points N. of points in plot
Show values Show graph coordinates.

Calculates the mean value of the radius of an ellipse with given semi-axes a and b.

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

Draws the ellipse and a plot of the mean radius vs. b / a, in [0.1, 1].


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

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

References: Plate: EllipseRadius

• (Wikipedia) PHP (from Personal Home Page) • Ellipse

• 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.

• 1643-01-04: Newton, Isaac (†1727-03-31, 84 yrs.).

 
 
Valid HTML 5! IST http://web.ist.utl.pt/~mcasquilho/compute/com/Hansen/P-ellipse.php
Created: 2024-01-04 — Last modified: 2024-01-05