Difference between revisions of "Projectile Motion Simulator"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
 
Line 1: Line 1:
'''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.
+
'''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 José M. Campiña (@jomicamp) for Rainbow Graphics in 2019. José Javier Garcia Aranda from 8 bits of power (8BP) provided a small routine for bank switching. Once loaded with RUN"DISC.BAS", 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.
  
 
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 [https://rainbowgraphics4cpc.wordpress.com/ Rainbow Graphics blog] to analyze its simple code.  
 
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 [https://rainbowgraphics4cpc.wordpress.com/ Rainbow Graphics blog] to analyze its simple code.  

Latest revision as of 19:02, 18 June 2019

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 José M. Campiña (@jomicamp) for Rainbow Graphics in 2019. José Javier Garcia Aranda from 8 bits of power (8BP) provided a small routine for bank switching. Once loaded with RUN"DISC.BAS", 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.

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:

Screenshot from PMS 2.0