emblem
Inscribed triangles' perimeter "for remote parallel"
Simulates triangles inscribed in a circle to apply remote parallel computing.
2024.Jul.03 18:17:37
R m Radius of circle. •
lg N, seed Lg (i.e., log10) of n. of trials, and seed. •
klass Histogram classes. •
Show values ? Shows the coordinates of the graph. •

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.

References: Plate: TriPeriForParallel

• Triangle formulas (Vitutor)

• 1799-01-26: Clapeyron, Benoit Paul Émile (1864-01-28).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~ist11038/compute/qc/Fx-triPeriForParal.php
Created: 2016-01-26 — Last modified: 2016-01-26