blob: 862ca6bfb297fdf4f32370da47b41b91f61a54dc (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 8.8
m=2.80*10^6;//Mass at liftoff (kg)
delta_m_by_delta_t=1.40*10^4;//Fuel-burn rate (kg/s)
v_e=2.40*10^3;//Exhaust velocity (m/s)
g=9.80;//Acceleration due to gravity (m/s^2)
a=v_e*(delta_m_by_delta_t)/m-g;//Acceleration (m/s^2)
printf('Initial acceleration = %0.2f m/s^2',a)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|