blob: fe3b78b6b521fe77c93037331994c3f0ca747a0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Exa 1.22
clc;
clear;
close;
format('v',6);
//Given Data :
Rdegree=8314.3;//Universal Gas Constant
M=32;//Molecular weight of gas
p1=3*10^6;//N/m^2
V1=250*10^-3;//m^3
T1=20+273;//K
p2=1.8*10^6;//N/m^2
V2=V1;//m^3
T2=16+273;//K
R=Rdegree/M;//Nm/KgK
m1=p1*V1/R/T1;//Kg
m2=p2*V2/R/T2;//Kg
mass_used=m1-m2;//Kg
disp(mass_used,"Mass of oxygen used in Kg : ");
|