summaryrefslogtreecommitdiff
path: root/1100/CH6/EX6.1/6_1.sce
blob: bb99d1a93bd31c7bc340790378a3358677dec16f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clc
//initialisation of variables
u1= 1111.9 //Btu/lb
p= 170 //psia
v1= 2.675 //cu ft/lb
V1= 6000 //ft/min
g0= 32.2 //ft/sec^2
g= 32.2 //ft/sec^2
z= 10 //ft
Q= 1000//Btu/hr
u2= 914.6 //Btu/lb
p1= 3 //psia
v2= 100.9 //cu ft/lb
V2= 300 //ft/sec
g0= 32.2 //ft/sec^2
g= 32.2 //ft/sec^2
z1= 0 //ft
//CALCULATIONS
Wx= (u1+(p*v1*144/778)+((V1/60)^2/(2*g*778))+(z/778)-(Q/2500)-u2-(p1*v2*144/778)-((V2^2)/(2*g*778)))*2500
//RESULTS
printf ('Poweroutput = %.f hp',Wx*0.000393014779)
//It is the conversion factor from btu/hr to hp