https://github.com/jilliennelapid/plotprojectilemotion
Python program using matplotlib to graph projectile motion.
https://github.com/jilliennelapid/plotprojectilemotion
matplotlib pyplot python
Last synced: about 1 year ago
JSON representation
Python program using matplotlib to graph projectile motion.
- Host: GitHub
- URL: https://github.com/jilliennelapid/plotprojectilemotion
- Owner: jilliennelapid
- Created: 2023-11-13T18:18:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T18:23:51.000Z (over 2 years ago)
- Last Synced: 2025-01-21T17:33:51.687Z (about 1 year ago)
- Topics: matplotlib, pyplot, python
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.