emblem
Inscribed triangles' area "for remote parallel"
Simulates triangles inscribed in a circle to apply remote parallel computing.
2024.Nov.25 05:14:26
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 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.

References: Plate: TriAreaForParallel

• Triangle formulas (Vitutor)

Weisstein, Eric W., "Circle Triangle Picking". From MathWorld--A Wolfram Web Resource.

• 1862-01-23: Hilbert, David (1943-02-14).

 
 
Valid HTML 4.01! IST http://web.ist.utl.pt/~mcasquilho/compute/qc/Fx-triAreaForParal.php
Created: 2016-01-23 — Last modified: 2016-12-28