3 ms·
As a mathematician, one of the first programs I wrote was to numerically calculate pi by random number generation in a box and seeing percentage of points that
by cowsandmilk 2y ago
As a mathematician, one of the first programs I wrote was to numerically calculate pi by random number generation in a box and seeing percentage of points that were in the circle. It was a fun introduction to programming. So, I found it to be the opposite, numerical simulations were a way to teach mathematicians programming.