blob: 8b1709317834a8262fe2a7ab579fb0a2f286a3d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Part (a)
P1 = 10; P2 = 1;
T1 = 273+200; n = 1.15; R = 0.287;
v2 = ((R*T1)/(P1*100))*((P1/P2)^(1/1.15));
v1 = ((R*T1)/(P1*100));
T2 = T1*(P2/P1)*(v2/v1);
cv = 0.716;
Q = (cv+(R/(1-n)))*(T2-T1);
disp("If the fluid is in the air")
disp("m3/kg",v2,"The specific volume is")
disp("K",T2,"The final temperature is ")
disp("kJ",Q,"Heat transferred per kg is")
// Part (b)
v1 = 0.20596; u1 = 2621.9;
v2 = v1*(P1/P2)^(1/n);
x2 = (v2-0.001043)/(1.694-0.001043);
t2 = 99.62+273;
u2 = 417.33+(x2*2088.7);
W = ((P1*100*v1)-(P2*100*v2))/(n-1);
Q = u2-u1+W;
disp("If the fluid is in the steam")
disp("m3/kg",v2,"The specific volume is")
disp("K",t2,"The final temperature is ")
disp("kJ",Q,"Heat transferred per kg is")
|