summaryrefslogtreecommitdiff
path: root/2024/CH9/EX9.17/9_17.sce
blob: 114f85e136e68384e860ae7d2753aad8c9751794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//Initialization of variables
hf=1187.2 //Btu/lbm
p2=100 //psia
//calculations
t=328 //F
u2=hf
disp("from steam table,")
t2=540 //F
p2=100 //psia
dt=t2-t
//results
printf("Rise in temperature = %d F",dt)