blob: e202555b6c272751dee71f37c23ec5227de1a243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
//initialisation of variables
v=200 //ft/sec
p=20 //lbf/in^2
ve=2000 //ft/sec
hi=1227.6 //ft/sec
T=778//F
t=32.17//in^2/ft^3
hg=1156.3//fe/sec
hf=960.1//ft
//CALCULATIONS
he=hi+((v)^2)/(2*t*T)-((ve)^2)/(2*t*T)//Btu/lbm
x=1-(7.9)/960.1//percent
X=-(he-hg)
X1=(1-X/hf)*100//percent
//RESULTS
printf('the final temperature if the steam is superheated in the final state=% f percent',X1)
|