Simulating normal random numbers in Python

Oscar Nieves
5 min readJul 29, 2021

Using the Box-Muller method

Image source: http://www.mbaexcel.com/excel/how-to-create-a-normally-distributed-set-of-random-numbers-in-excel/

In my previous Medium story: https://oscarnieves100.medium.com/how-to-simulate-random-numbers-dad35905ecdb I discussed how to simulate random numbers in Python by using a little mathematical method known as “the inverse sampling theorem”. In it, I demonstrated how using nothing but uniformly distributed random numbers in the interval [0, 1] we could produce a set…

--

--

Oscar Nieves

I write stories about applied math, physics and engineering.