summaryrefslogtreecommitdiff
path: root/172/CH3/EX3.4/ex4.sce
blob: 3ecbb5a5c0023702be1891fb67280c00a7565d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
 //example 4
//percentage of vapor 
clear
clc
vliq=0.1 //volume of saturated liquid in m^3
vf=0.000843 //in m^3/kg
vvap=0.9 //volume of saturated vapor R-134a in equilbrium
vg=0.02671 //in m^3/kg
mliq=vliq/vf //mass of liquid in kg 
mvap=vvap/vg //mass of vapor in kg
m=mliq+mvap //total mass in kg
x=mvap/m //percentage of vapor on mass basis
disp('hence,% vapor on mass basis is 22.1')