Normal distribution using Box–Muller transform

remixed by Layzej
See inside

Uses the Box–Muller transform to generate <count> normally distributed random numbers and displays the frequency.

Use the <standard deviation> slider to change the standard deviation and the <count> slider to change the number of numbers generated between displays..

The main function takes two parameters:
mu: mean
sigma: standard deviation

Notes and Credits (added by Layzej)


I've added a random function (see inside) that takes min, max, and sigma as parameters. The <sigma> parameter let's you determine how many standard deviations you would like to include in your result. The higher you set it the less likely it is for the result to land anywhere near your min/max bounds.

Shared: 18 Oct 2016 Modified: 27 Oct 2016
Favorite this project 9
Love this project 19
Total views 261
View the remix tree  9
More projects by Layzej