jilliennelapid / PlotProjectileMotion

Python program using matplotlib to graph projectile motion.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlotProjectileMotion

Python program using matplotlib to graph projectile motion.

main.py

* class Main displays the commands for a user to enter in the launch angle and launch speed of the projectile.

* class Cannonball contains the methods that calculate the trajectory for the projectile.

* class Crazyball is a child class of Cannonball that uses its methods to plot a projectile with a random trajectory.

* class PrintInterface contains the method to plot the projectile via pyplot from matplotlib.

About

Python program using matplotlib to graph projectile motion.


Languages

Language:Python 100.0%