AI Engineer - Learn how to integrate AI into software applications
Build the Finance Skills That Lead to Promotions — Not Just Certificates
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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