blob: 684761e699d8ef191f9f3f914fccf7a891513cd8 (
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
|
clc
Q=-340; //kJ
n=200; //cycles/min
//For Process 1-2
W_12=4340; //kJ/min
Q_12=0;
dE_12=Q_12-W_12;
disp("dE_12 =")
disp(dE_12)
disp("kJ/min")
//For process 2-3
Q_23=42000; //kJ/min
W_23=0;
dE_23=Q_23-W_23;
disp("dE_23 =")
disp(dE_23)
disp("kJ/min")
//For process 3-4
Q_34=-4200; //kJ/min
dE_34=-73200; //kJ/min
W_34=Q_34-dE_34;
disp("W_34 =")
disp(W_34)
disp("kJ/min")
//For process 4-1
Q_41=Q*n-Q_12-Q_23-Q_34;
disp("Q_41 =")
disp(Q_41)
disp("kJ/min")
dE_41=0-dE_12-dE_23-dE_34;
disp("dE_41 =")
disp(dE_41)
disp("kJ/min")
W_41=Q_41-dE_41;
disp("W_41 =")
disp(W_41)
disp("kJ/min")
|