blob: a40d91b10c3010edbc9e6c86bb534ce1fe3fd2af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Volume of tank(in m^3)
V=0.1;
//Mass of nitrogen(in kg)
m1=4;
//Mass of oxygen(in kg)
m2=1.5;
//Mass of carbon dioxide(in kg)
m3=0.75;
//Temperature of mixture(in K)
T=273+20;
//Gas constant of N2(in J/kgK)
RN2=296.8;
//Gas constant of O2(in J/kgK)
RO2=259.83;
//Gas constant of CO2(in J/kgK)
RCO2=188.9;
|