A numerical-methods course project
Rocket Trajectory Physics Engine
This numerical-methods project simulates two-dimensional rocket motion with gravity and aerodynamic drag. It tracks horizontal and vertical position and velocity, then estimates the landing point and plots the trajectory.
Purpose
The project applies numerical integration and root finding to a concrete physics model, making it possible to examine how launch settings and drag affect a simulated flight.
What it does
- Fourth-order Runge–Kutta (RK4) advances the position and velocity state over time.
- Newton–Raphson root finding refines the landing-time estimate near a ground crossing.
- Launch speed, angle, mass, drag coefficient and time step are configurable in the Python implementation.
- NumPy and Matplotlib support numerical work and the generated trajectory plot.
Technologies
- Python
- NumPy
- Matplotlib
Project questions
- Which numerical methods does the project use?
- It uses fourth-order Runge–Kutta integration for the motion equations and Newton–Raphson root finding to refine a landing-time estimate.
- What does the simulator model?
- The educational model tracks 2D position and velocity under gravity and aerodynamic drag. Configurable launch settings determine the simulated trajectory and landing estimate.