A projectile model building on Challenge 9, which considers projectile motion in an atmosphere with a model of air density that diminishes with altitude. T he original air resistance model (red) can be compared with the new model (orange) along with the drag-free model (purple).
In order to see the difference between the orange and the red, the streamlined body setting works best.
The simulation was based on the molar form of the ideal gas law:

Where:
Launch Speed u ms-1:
Launch Angle from Horizontal θ °:
Strength of Gravity 𝑔 (Nkg-1):
Launch Height ℎ above sea level (m):
Object Mass (kg):
Air Density (kgm-3):
Cross-Sectional Surface Area (m2):