blob: c2fcb8bc627f49de406414358de49e17495b4b8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//example 4.2
clear;
clc;
//Given:
Vl=0.0177;//specific volume of saturated liquid[m3/Kg]
Vg=4.43;//specific volume of saturated vapour[m3/Kg]
P=7;//pressure[atm]
T=438;//temperature[K]
x=0.6;//fraction of vapour phase
M=2.5;//mass of the substance[Kg]
//to find the total volume occupied by the mixture
V=[(1-x)*Vl+x*Vg]*M;//total volume occupied [m3]
printf("Total volume occupied =%f m3", V)
|