blob: 3004a3bc985b4e734ab6a48263730137a9316f93 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
clc;clear;
//Example 3.9
//part a
disp('Part a');
//given values
P=200;
x=0.6;
//from Table A-5
T=120.21;
uf=504.50;
ufg=2024.6;
//calcualtions
u=uf+(x*ufg);
disp(T,'temperature in Celcius ');
disp(u,'internal energy in kJ/kg');
disp('saturated liquid–vapor mixture at a pressure of 200 kPa');
//part b
disp('Part b');
//given values
T=125;
u=1600;
//from Table A–4
uf=524.83;
ug=2534.3;
//ug>u>ufg so its aturated liquid–vapor mixture
P=232.23;
//calculation
ufg=ug-uf;
x=(u-uf)/ufg;
disp(P,'Pressure in kPa');
disp(x,'x is');
disp('saturated liquid–vapor mixture at a temp of 125 of celcius');
//part c
disp('Part c');
//given values
P=1000;
u=2950;
//from Table A–6
uf=761.39;
ug=2582.8;
//u>ug so its superheated steam
T=395.2;
//calculation
disp(T,'temperature in Celcius');
disp('superheated vapor at 1MPa ');
//part d
disp('Part d');
//given values
T=75;
P=100;
//from Table A–5
Tsat=151.83;
//T<Tsat so it is a compressed liquid
//the given pressure is much lower than the lowest pressure value in the compressed liquid table i.e 5 MPa
//assuming, the compressed liquid as saturated liquid at the given temperature
//from Table A-4
u=313.99;
disp(u,'Internal energy in kJ/kg');
disp('the compressed liquid condition');
//Part e
disp('Part e');
//given values
P=850;
x=0;
//x=0 therefore it is a saturateed liquid condition
//from Table A-5
T=172.94;
u=731.00;
disp(T,'temperature in Celcius');
disp(u,'Internal energy in kJ/kg');
disp('saturateed liquid condition')
|