blob: fe7bfe9fc2aef1ff0908ecbe0de877b453e8e45d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clc
clear
//Initialization of variables
pw=0.15//psia
disp("using psychrometric charts,")
tdew=46 //F
//calculations
va=13.74 //ft^3/lbm dry air
rhoa=1/va
V=13.74
mw=46/7000
rhow=mw/V
w=0.00657
//results
disp("part a")
printf("partial pressure of water = %.2f psia",pw)
printf("\n dew temperature = %d F",tdew)
disp("part b")
printf("density of water = %.6f lbm/ft^3",rhow)
printf("\n density of air = %.4f lbm/ft^3",rhoa)
disp("part c")
printf("specific humidity = %.5f lbm steam/lbm air",w)
|