Simulates triangles
randomly inscribed in a circle to compute their perimeter,
for application of remote parallel computing. The vertices of each tirangle
are points uniformly distributed on the circle.
The perimeter of such a triangle is in [0, 3R√3], with
R the radius of the circle.
This sample problem has been set to test
remote parallel computing, in which two (or more) independent simulation runs
are distributed to remote computers. These can be different,
running on Windows, Mac, Linux, so the parallelization is controlled
(not MPI-style).
Plots the density (f) and cumulative distribution
(F) for the simulated variable. |