summaryrefslogtreecommitdiff
path: root/Heat_And_Thermodynamics_by_A._Manna/ch12.ipynb
blob: 1281c2d604df0adf2bcfef273124230134bdbda4 (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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 12 : Radiation"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.1 pageno : 445"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "t1 = 300;\t\t\t#temperature of the surroundings in K\n",
      "t2 = 900;\t\t\t#temperature of the hot body p in K\n",
      "t3 = 500;\t\t\t#temperature of the hot body q in K\n",
      "a = 5.67*10**-8;\t\t\t#stefan boltzmann consmath.tant in W/m**2.K**4\n",
      "\n",
      "# Calculations\n",
      "q1 = a*(t2**4-t1**4);\t\t\t#heat lost from hot body p in w/m**2\n",
      "q2 = a*(t3**4-t1**4);\t\t\t#heat lost from hot body q in w/m**2\n",
      "q = q1/q2;\t\t\t#ratio of heat lost from two subsmath.tances\n",
      "\n",
      "# Result\n",
      "print 'ratio of heat lost from two substances is %3.1f/1'%(q)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "ratio of heat lost from two substances is 11.9/1\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.2 pageno : 445"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "t1 = 573;\t\t\t#temperature of the hot side in K\n",
      "t2 = 273;\t\t\t#temperature of the coll side in K\n",
      "m = 82;\t\t\t#mass of the black body in gm\n",
      "cp = 0.1;\t\t\t#specific heat of the black body kj/kg.K\n",
      "dt = 0.35;\t\t\t#ice melting at a rate of temperature in deg.C/sec\n",
      "a = 8;\t\t\t#area of black body in sq.cm\n",
      "\n",
      "# Calculations\n",
      "s = m*cp*dt/(a*(t1**4-t2**4));\t\t\t#boltzmann constant in cal/sq.cm/sec/deg**4\n",
      "\n",
      "# Result\n",
      "print 'boltzmann consmath.tant is %.2e cal/sq.cm/sec/deg**4'%(s)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "boltzmann consmath.tant is 3.51e-12 cal/sq.cm/sec/deg**4\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.3 pageno : 445"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "r1 = 60.;\t\t\t#distance of first black body in cm\n",
      "r2 = 30.;\t\t\t#distance of second black body in cm\n",
      "t1 = 873.;\t\t\t#temperature of first black body in K\n",
      "t2 = 573.;\t\t\t#temperature of the second black body in K\n",
      "\n",
      "# Calculations\n",
      "i = (t2**4/t1**4)*(r1**2/r2**2);\t\t\t#ratio of intensity of radition\n",
      "\n",
      "# Result\n",
      "print 'ratio of intensity of radition is %3.2f'%(i)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "ratio of intensity of radition is 0.74\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.4 pageno : 445"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "t1 = 1373;\t\t\t#temperature of the sphere in K\n",
      "t2 = 283;\t\t\t#temperature of the black body in K\n",
      "r = 4.17*10**5;\t\t\t#rate of heat radiate in ergs/sq.cm/sec\n",
      "a = 4*3.14*(6**2);\t\t\t#surface area of the sphere in sq.cm\n",
      "\n",
      "\n",
      "tr = r*a*(t1**4/t2**4)*(2.39005736*10**(-8));\t\t\t#total heat radiated in cal/sec\n",
      "\n",
      "# Result\n",
      "print 'total heat radiated is %3.1f cal/sec'%(tr)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "total heat radiated is 2496.6 cal/sec\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.5 pageno : 446"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "h = 2*3.14*100;\t\t\t#heat received by the lens per min in  cal\n",
      "m = 25.;\t\t\t#mass of the ice in gm\n",
      "l = 80;\t\t\t#latent heat of ice in cal/gm\n",
      "\n",
      "# Calculations\n",
      "t = m*l/h;\t\t\t#time for which the sun rays falls in min\n",
      "\n",
      "# Result\n",
      "print 'time for which the sun rays falls is %3.3f min'%(t)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "time for which the sun rays falls is 3.185 min\n"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.6 page no : 446"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "d = 0.35;\t\t\t#diameter of the mirror in m\n",
      "t = 5;\t\t\t#time in min\n",
      "T = 16;\t\t\t#temperature of water found to be in deg.C\n",
      "m = 60;\t\t\t#mass of water in gm\n",
      "mc = 30;\t\t\t#mass of calorimeter in gm\n",
      "cp = 0.1;\t\t\t#specific heat of copper in cal/gm/deg.C\n",
      "\n",
      "# Calculations\n",
      "q = (m+cp*mc)*T*4/(5*3.14*d**2);\t\t\t#amount of heat received by earth in cal\n",
      "\n",
      "# Result\n",
      "print 'amount of heat received by earth is %3.f cal'%(q)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "amount of heat received by earth is 2096 cal\n"
       ]
      }
     ],
     "prompt_number": 10
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.7 pageno : 446"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "r1 = 5.;\t\t\t#radius of first sphere in cm\n",
      "r2 = 10.;\t\t\t#radius of second sphere in cm\n",
      "t1 = 700.;\t\t\t#temperature of the first sphere in K\n",
      "t2 = 500.;\t\t\t#temperature of the second sphere in K\n",
      "t = 300.;\t\t\t#temperature of the enclousure in K\n",
      "\n",
      "# Calculations1\n",
      "dc = (r2/r1)*(t1**4-t**4)/(t2**4-t**4);\t\t\t#ratio of c1/c2\n",
      "r = r1**3*dc/r2**3;\t\t\t#rate of heat loss\n",
      "\n",
      "# Result\n",
      "print 'rate of loss of heat is %3.3f'%(r)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "rate of loss of heat is 1.066\n"
       ]
      }
     ],
     "prompt_number": 16
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.8 pageno : 447"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# Variables\n",
      "t1 = 600.;\t\t\t#temperature of the black body in K\n",
      "t0 = 300.;\t\t\t#temperature of the surroundings in K\n",
      "d = 6.;\t\t\t#deflections in galvanometer\n",
      "d1 = 400.;\t\t\t#deflection in divisions\n",
      "\n",
      "# Calculations\n",
      "dt = (d1/d)*(t1**4-t0**4);\t\t\t#change of temperature\n",
      "t2 = (dt+t0**4)**(1./4);\t\t\t#end temperature in K\n",
      "\n",
      "# Result\n",
      "print 'end temperature of the temperature is %3.2f K'%(t2)\n",
      "print \"Note : answer in book in incorrect. Please calculate manually.\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "end temperature of the temperature is 1687.45 K\n",
        "Note : answer in book in incorrect. Please calculate manually.\n"
       ]
      }
     ],
     "prompt_number": 19
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.9 pageno : 447"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "n = 17000;\t\t\t#luminosity of star compared to sun\n",
      "t = 6000;\t\t\t#temperature of the sun in K\n",
      "\n",
      "# Calculations\n",
      "t1 = (n*t**4)**(1./4);\t\t\t#temperature of the star in K\n",
      "\n",
      "# Result\n",
      "print 'the temperature of the star is %3.f K'%(round(t1,-1))\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "the temperature of the star is 68510 K\n"
       ]
      }
     ],
     "prompt_number": 21
    }
   ],
   "metadata": {}
  }
 ]
}