Python

Bouncing Ball Animation using Python

For a fullscreen view, visit https://www.glowscript.org/#/user/wboson2007/folder/MyPrograms/program/Bouncing

Modified this python simulation from Dr Darren Tan’s work at https://sciencesamurai.trinket.io/a-level-physics-programming#/collisions/bouncing-ball

Wanted to try out a different way of creating simulations. Added the acceleration-time graph in place of his energy-time graph, in preparation for the teaching of kinematics. Also assuming no energy loss during collisions for simplicity.

For Singapore teachers, I have submitted a request to SLS for this URL to be whitelisted for embedding. Once approved, glowscript simulations can be embedded as part of the lesson. For the time being, a URL link out to the simulation will have to do.

Teaching Python

An ex-colleague from HQ introduced me to Trinket: a useful web-based code editor that allows students to tinker with codes and showcase their work. Here’s an example of a BMI calculator that can be embedded via iframes.

As I am teaching programming to the lower sec IP students this term as part of their Skills and Knowledge curriculum, I was wondering if I should use this to ask my students to submit their work.