©
Random integers
Produces and examines random integers (Monte Carlo).
2024.Nov.25 05:21:36
nLO, nHI Lower and upper limits (included) for the integers. •
lg N (a), .seed (a)(≤ 7) N. (log10) of trials, random no. gener. seed. •
Show values Shows the coordinates of the graph. •

Produces and examines random integers (Monte Carlo). The simulation (such as Excel RANDBETWEEN) is tested.

The expected values are:  μ = (nLO + nHI) ⁄ 2;  σ² = (K² − 1) ⁄ 12, with K = nHInLO + 1  (cardinality).

Plots the simulated pdf, f(p), and cdf, F(p), integral of the simulated.               Standard deviation...

Other suggested data: 1, 7 (μ, σ = 4, 2); 1, 26 (13.5, 7.5); 52, 148 (100, 28).

References: Plate: randbetween

• Google "random integers"

• Histograms: "Graphing with Excel" (=) ← LabWrite (North Carolina State Univ.).

• 1777-04-30: Gauss, Johann Carl Friedrich (1855-02-23).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~mcasquilho/compute/or/Fx-randbetween.php
Created: 2012-04-30 — Last modified: 2018-11-16