//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;