|
Lifetime of
a set of light bulbs
Simulates (via Monte Carlo) the lifetime of a set of light bulbs. |
|
|
n, k |
|
Size of set; and no. of working
(at least). |
μ, prob |
% |
Process mean and probability of survival. |
ntr, .seed, m |
10**;
|
No. of trials (samples), simulation seed (≠ 0
for repeatable), no. of histogram classes. |
xrange; ymax |
;
|
Graph's axes ranges (max. ordinate auto. if 0). |
Show values |
|
Show the graph coordinates. |
Simulates the lifetime of a set of n light bulbs, of which
at least k must keep working (till burn out) before replacement.
Individual lifetimes are assumed 'exponential', all with mean μ.
|
|
|
Reference:
• Weisstein, Eric W., "Exponential Distribution". From
MathWorld—A Wolfram Web Resource. |