Looks like no one added any tags here yet for you.
What is a simulation?
A simulation is an abstraction of an infinitely complex natural phenomena
What is a physics engine?
It is a library of code that can simulate physical systems, typically used to create realistic digital worlds.
Why are random values useful?
Random values can be used to make decisions and simulate natural processes.
How do you generate a random number between 0 and 1 in Java?
Math.random()
How do you generate a random integer in Java?
You use Math.floor on top of Math.random() in order to round down to the nearest integer