Projectile Motion Simulator

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 17:58, 18 June 2019 by Jomicamp (Talk | contribs)

Jump to: navigation, search

Projectile Motion Simulator (PMS) is a small piece of software coded in Locomotive BASIC that allows to draw the trajectories of a projectile launched with a certain initial speed and shooting angle. The program was coded in mode 0 by @jomicamp for Rainbow Graphics in 2019. Once loaded, a colourful picture governs the screen while the program asks you to introduce the starting speed of the projectile (bullet, stone, javelin and so on) and the launching angle. Then the program will draw its trajectory and will supply the calculated values of range (the total distance in the x axis) and the maximum height reached during its fly. We can also play with gravity. For these purposes we can modify the gravitatory acceleration constant in multiples of G (-9.8 m/s2). Of course, this program is intended for pedagogical purposes and it is not indicated for accurate analysis. It does not consider the effect of friction with the atmosphere neither the mass of the projectile.


Screenshot from PMS 2.0


For all these reasons, this is best suited for high school students to deal with the analysis of projectile motion as studied in physics courses. After the theory, the kids can go to it and visualize how the different variables affect the trajectory, height, and range of the launched projectiles in graphic way. Hopefully we will attract them to the world of vintage computers, showing them those can be used for something else than gaming. They could also get interested in learning an easy language like this vintage version of BASIC and go to the Rainbow Graphics blog to analyze its simple code.

You may download the latest version here: