summaryrefslogtreecommitdiff
path: root/3785/CH5/EX5.7/Ex5_7.sce
blob: e9fe0a2687166a0a81302be11fa9a409ef7b505a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Example 5_7
clc;funcprot(0);
// Given data
V_f=250;// The speed of flight in m/s
rho_a=0.4;// The density of air in kg/m^3
A_in=1;// The inlet area in m^2
m_f=2;// The mass flow rate of fuel in kg/s
V_e=500;// The speed of exhaust jet in m/s

// Calculation
m_in=rho_a*V_f*A_in;// The mass flow rate of air at inlet in kg/s
m_out=m_in+m_f;// The mass flow rate of air at outlet in kg/s
F=(m_out*V_e)-(m_in*V_f);// The force exerted on the engine by the airframe in N
printf("\nThe value of the force F exerted on the engine by the airframe is %1.1e N",F);