The Connection Machine is to be used to perform a simulation to estimate the probability that an accelerated particle aimed at a thin sheet of metal will be reflected, deflected, or absorbed. The experiment works as follows:
d = L * ln( 1 / [1-rnd()] )where, rnd() is a uniformly-distributed random value and L is a constant that depends on the metal under test (L is the average distance traveled in one iteration).
r = 2 * pi * (1/K) * (r1 + r2 + r3 + ... + ri + ... + rK) - piwhere, ri , 1 <= i <= K are uniformly distributed random variables and K is a constant that depends on the metal under test.
The Exercise:
Remarks:
Hints:
Date of last update: October 3, 1994.