Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a Python walkthrough that demonstrates how to determine the value of pi using a one-dimensional random walk. Learn to create code for a 1D random walk, implement counters, and generate graphs to visualize the process. Extend your understanding by examining additional examples of 3D and 2D random walks in Python. Follow along with provided code samples and gain insights into the mathematical concepts behind this unique approach to calculating pi.
Syllabus
Intro
Onedimensional walk
Making a counter
Making a graph
Making a 3D walk
Making a 2D walk
Taught by
Dot Physics