Tue Aug 9 20:16:58 2022
flies_simulation_test()
Python version: 3.6.9
Two flies land at random on a plate of radius 1.
Their pairwise distance D is the quantity of interest.
Plot PDF, CDF, and statistics by simulation.
flies_cdf_plot()
Two flies land at random on a plate of radius 1.
D is the distance between them.
Estimate the CDF for D with a plot.
Graphics saved as "flies_cdf.png"
flies_pdf_plot()
Two flies land at random on a plate of radius 1.
D is the distance between them.
Estimate the PDF for D with a plot.
Graphics saved as "flies_pdf.png"
flies_stats_test()
Two flies land at random on a plate of radius 1.
D is the distance between them.
Compute statistics for a sequence of experiments of size n.
n dmin dmean dmax dstd
10 0.4944 0.9648 1.6382 0.4015
100 0.0824 0.8826 1.8074 0.4142
1000 0.0277 0.9107 1.9586 0.4260
10000 0.0136 0.9026 1.9651 0.4244
flies_simulation_test()
Normal end of execution.
Tue Aug 9 20:16:59 2022