Number of normals N = 619x
(HTML5 canvas support required)
(HTML5 canvas support required)
Polar Method
to
simulate normal RV from uniform RV
JavaScript has only provided a uniform random variable
Here is the (almost) equivalent code in JavaScript:
|