|
From histogram
to Monte Carlo Simulates from probability given as
histogram. UNDER CONSTRUCTION |
|
|
File to upload |
(Optional) |
Such as HistoToMC.xlsx (with header). |
Data sheet |
|
(Of uploaded file.) |
Screen 'csv' base data |
|
In 'csv' (Am or Eu) format,
ignored if a file is uploaded. |
Binomial ? (n, p) |
|
Binomial option (iff n &neq; 0). |
Simulation option |
|
Option. |
ntrials, seed, classes |
or (> 0: alternative) |
N. of simulation trials, RNG seed,
histogram classes. |
Show values |
|
Show graph coordinates. |
Simulates from given
histogram instead of probability distribution.
Draws graphs with the given histogram and
the simulated functions.
Computation structure — A PHP file
(this page: 'P-histoToMC.php') calls
(via 'action=') an intermediate PHP file ('HistoToMC.php'),
which (through $_POST) sends the problem data as command line arguments
to a Python script. This last imports a Fortran module,
does the computing, and executes graphing via 'gnuplot' (system call),
for the final (temporary) webpage.
Keywords: PHP, command line arguments,
Python script, Fortran module, gnuplot. |
| References: |
Plate: HistoToMC |
• (Wikipedia) PHP (from Personal Home Page).
• Rosa, F.,
J. Bordado,
M. Casquilho, 2002,
"Kinetics of water absorbency in AA/AMPS copolymers: applications
of a diffusion-relaxation model", Polymer, 43:63–70
(doi: 10.1016/S0032-3861(01)00596-1)
(excerpt.pdf).
• (Wikipedia) Python (programming language). Python as glue. Using Python as glue. F2PY Users Guide and Reference Manual.
• (Wikipedia) Fortran (Fortran 90).
gnuplot.
• CISTI'2024, 19.ª
Conferencia Ibérica de Sistemas y Tecnologías de Información
(19.th Iberian Conference on Information Systems
and Technologíes), Cáceres (Spain), 19–22 June 2024.
• Symbols: Unicode.pdf
(charts);
square root
• 1847-01-17: Zhukovsky, Nikolai Egorovich,
Никола́й Его́рович Жуко́вский
(†1921-03-17, 74 yrs.). |