Simulates, via Monte Carlo,
an Exponential random variable, X, and compares the results
with the theoretical (analytical) 'pdf'. A density-type histogram is produced
for comparison.
Acknowledgement — This is based on a Mathematica
'notebook' by IST pupil J. C. Alves Fernandes (55432). |