Simulates triangles
randomly inscribed in a circle to compute their area,
for application of remote parallel computing. The vertices of each tirangle
are points uniformly distributed on the circle.
The area of such a triangle is given by
A = a b c ⁄ (4 R), where
a, b and c are the resulting sides, 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. |