blob: c8ced23f33453bb1dbc2fc0e7bb9f521ca5dc0db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
clc
clear
//Initalization of variables
pa=14.7
pv=0.0356
pv2=0.04
cp=0.24
t1=70 //F
t2=15 //F
R=53.35
V=8000 //ft^3
//calculations
sh=0.622*pv/(pa-pv2)
hm2=cp*t1+ sh*1092.3
hm1=cp*t2+sh*1068.4
Q=hm2-hm1
m=144*(pa-pv2)*V/(R*(t2+460))
Q2=Q*m
//results
printf("Heat added per min = %d Btu/min",Q2)
disp("The answer is a bit different due to rounding off error in the textbook")
|