summaryrefslogtreecommitdiff
path: root/2141/CH7/EX7.9/Ex7_9.sce
blob: b7e6d2b0cacc86e97aff5e074f51199b28129b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

clc
//initialisation of variables
P1=14.7 //lbf/in^2
P2=60 //lbf/in^2
T1=520 //R
n=1.3 //constant
T=1.383
R=55.15//ft
w=-47.0//Btu/lbm
//CALCULATIONS
T2=T1*T//R
Q=0.177*(T2-T1)+w//Btu/lbm
//RESULTS
printf('The work and heat transfer per pound =% f Btu/lbm',Q)