The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Ejs Hard Disk Gas Model.
made changes to the model so that i can learn more about it and the changes are:
1. made n selectable by defining nmax and insert as the n maximum limit
2. made v0 selectable by changing the codes
3. made arrows array to be drawn to understand where the particles are heading
4. made text array to allow eye balling what each particle is doing
5 change some minor values to make cellSize selectable as well.
6 added e coefficient of restitution but the codes does not work well when e = 0 probably due to the collision detection codes, goes to a deep loop when too much particles are near each other.
Enjoy!
Create a new relation