Projectile Motion in Weak Gravitational Field,(g=3.71 m/s²)
In this program, we simulate the trajectories of three projectiles in gravitational field g=3.71 m/s² ( Mars Planet), the constant is computed using the formula :g=G*M/r²
with :
M=6.4185e+23 : Mass in Kg
r=3396.2e+3 : Radius in m
G=6.67384e-11 : Gravitational constant
in m^3.kg^-1.s^-2
The initial conditions are :
theta=[15 23 34] : angles
V0=[40.5 50.6 60.32] : velocities.
In the simulation, classical equations are derived to compute the X range, Y max and the trajectories Xi,Yi with no friction.
Link for additional information :
http://math.fullerton.edu/mathews/n2003/projectilemotionmod.html
Cite As
Youssef Khmou (2025). Projectile Motion in Weak Gravitational Field,(g=3.71 m/s²) (https://www.mathworks.com/matlabcentral/fileexchange/41579-projectile-motion-in-weak-gravitational-field-g-3-71-m-s), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |