Numerical Simulation
Numerical simulation helps us to explore and understand complex phenomenons in nature, psychology, science and engineering. A numerical simulation is a program that computes the evolution of a physical system in space and time, for example:
- the movement of stars and galaxies in the universe since the big bang,
- the propagation of a wood fire over time,
- the chemical reaction between molecules,
- the dragging progress of cars in a traffic jam.
During this hackathon you will learn how to program your first numerical simulation - your very own bouncy ball pit!
Let’s code a bouncy ball pit!
- How to drop a ball
- How to drop a ball for real
- How to bounce a ball
- How to bounce a whole lot of balls
- Getting on
Let’s get real with some more advanced physics:
- How to derive the equations of motion?
- How to “lose” energy?
- How about different masses?
- How wrong is our simulation?
- Beyond these ideas there’s many more physical effects you could take into account in your simulation, e.g. spin of the ball, friction. You can have a look here for more ideas.
Acknowledgement
This is a slightly modified hackathon first prepared by Anne Reinarz, Chris Marcotte, and Laura Morgenstern.
Support
If you get stuck at any point feel free to email: