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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
{
"metadata": {
"name": "Chapter 5"
},
"nbformat": 2,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"source": [
"#Chapter 5 :- The Second Law of Thermodynamics"
]
},
{
"cell_type": "markdown",
"source": [
"##<heading2> Example 5.1 Page no- 194"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"",
"# Given :-",
"W = 410.00 # net work output in kj claimed ",
"Q = 1000.00 # energy input by heat transfer in kj",
"Tc = 300.00 # temperature of cold reservoir in kelvin",
"TH = 500.00 # temperature of hot reservoir in kelvin",
"",
"# Calculations ",
"eta = W/Q # thermal efficiency",
"etamax = 1-(Tc/TH)",
"",
"# Results",
"print '-> Eta = ',round(eta,4)",
"print '-> Etamax = ',round(etamax,4)",
"print '-> Since eta is more than etamax, the claim is not authentic'"
],
"language": "python",
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"-> Eta = 0.41",
"-> Etamax = 0.4",
"-> Since eta is more than etamax, the claim is not authentic"
]
}
],
"prompt_number": 1
},
{
"cell_type": "markdown",
"source": [
"##<heading2> Example 5.2 Page no- 195"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"",
"# Given :-",
"Qcdot = 8000.00 # in kj/h",
"Wcycledot = 3200.00 # in kj/h",
"Tc = 268.00 # temperature of compartment in kelvin",
"TH = 295.00 # temperature of the surrounding air in kelvin",
"",
"# Calculations ",
"beta = Qcdot/Wcycledot # coefficient of performance",
"betamax = Tc/(TH-Tc) # reversible coefficient of performance",
"",
"# Results",
"print '-> Coefficient of performance is ',round(beta,3)",
"print '-> Coefficient of performance of a reversible cycle is ',round(betamax,3)"
],
"language": "python",
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"-> Coefficient of performance is 2.5",
"-> Coefficient of performance of a reversible cycle is 9.926"
]
}
],
"prompt_number": 2
},
{
"cell_type": "markdown",
"source": [
"##<heading2> Eample 5.3 Page no- 196"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"",
"# Given :-",
"Tc = 283.0 # in kelvin",
"TH = 295.0 # in kelvin",
"QH = 5*(10**5) # in kj per day",
"",
"# Calculations",
"Wcyclemin = (1-(Tc/TH))*QH",
"",
"# Results",
"print '-> Minimum theoretical work input for one day of operation in kJ is: ',round(Wcyclemin,2)"
],
"language": "python",
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"-> Minimum theoretical work input for one day of operation in kJ is: 20338.98"
]
}
],
"prompt_number": 3
}
]
}
]
}
|