Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the final episode of a subscriber tribute series focusing on simulating bouncy balls in a 3D environment using VPython. Learn how to create walls, adjust opacity, randomize ball movements, and implement collisions in three dimensions. Discover the relationships between pressure, volume, and temperature as you manipulate box dimensions and maximum momentum. Follow along with code examples, run simulations, and analyze the results of pressure versus volume experiments. Gain insights into the Ideal Gas Law and its applications in physics simulations.
Syllabus
Introduction
Adding the Walls
Opacity
Randomize
Final Product
In 3D
Collisions
Random
Hong Kong
Hong Kong trajectory
Changing the box length
Changing the maximum momentum
Changing box length
Changing pressure
Temperature vs pressure
Making it 3D
The computer is wonderful
Running the code
Pressure vs volume
Summary
Taught by
Let's Code Physics