© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. Li, A. NakanoSimulation with Pythonhttps://doi.org/10.1007/978-1-4842-8185-7_1

1. Calculating Pi with Monte Carlo Simulation

Rongpeng Li1   and Aiichiro Nakano1
(1)
Los Angeles, CA, USA
 

Background

When Stanislaw Ulam, a Polish-American mathematician and nuclear physicist, invented and formulated the modern Monte Carlo method in the 1940s, he and his colleagues named the method Monte Carlo because Ulam’s uncle often borrowed his relatives’ money to gamble in Monaco’s Monte Carlo Casino. Stanislaw Ulam and many other brilliant scientists were working on the secret nuclear weapon program now known as the Manhattan Project. The Monte Carlo method was programmed ...

Get Simulation with Python: Develop Simulation and Modeling in Natural Sciences, Engineering, and Social Sciences now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.