blob: 209c3ac9c01609419bc190e0189bc75a6abc70d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clear ;
clc;
// Example 13.4
printf('Example 13.4\n\n');
//Page No. 408
// Solution
mol_wt_N2 = 28 ;// Molecular mass of 1 kg mol N2 -[kg]
mol_V = 22.42 ;// Molar of ideal gas at standard condition-[cubic metre/kg mol]
Tc = 27 ;// Temperature-[degree C]
T = Tc + 273 ;//Temperature-[K]
P = 100 ;//Pressure-[kPa]
//Standard condition
Ps = 101.3 ;// Pressure -[kPa]
Ts = 273 ;//Temperature-[K]
V = (T * Ps * mol_V)/(Ts * P) ;// Volume occupied by N2-[cubic metre]
D_N2 = mol_wt_N2/V ;// Density of N2 at given condition-[kg/cubic metre]
printf(' Density of N2 at given condition is %.3f kg/cubic metre.',D_N2);
|