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
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
|
{
"metadata": {
"name": "",
"signature": "sha256:6c05b21421cee2c4a7e783e9f430bf868f1c93712e67d4962c0153c3f2fdb855"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter7-Governors"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex1-pg196"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 1 PAGE NO 196\n",
"##TITLE:GOVERNORS\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"L=.4## LENGTH OF UPPER ARM IN m\n",
"THETA=30.## INCLINATION TO THE VERTICAL IN degrees\n",
"K=.02## RISED LENGTH IN m\n",
"##============================================================================================\n",
"h2=L*math.cos(THETA/57.3)## GOVERNOR HEIGHT IN m\n",
"N2=(895./h2)**.5## SPEED AT h2 IN rpm\n",
"h1=h2-K## LENGTH WHEN IT IS RAISED BY 2 cm\n",
"N1=(895./h1)**.5## SPEED AT h1 IN rpm\n",
"n=(N1-N2)/N2*100.## PERCENTAGE CHANGE IN SPEED\n",
"##==========================================================================================\n",
"print'%s %.1f %s'%('PERCENTAGE CHANGE IN SPEED=',n,' PERCENTAGE')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"PERCENTAGE CHANGE IN SPEED= 3.0 PERCENTAGE\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex2-pg197"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 2 PAGE NO 197\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.5(A),7.5(B)\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"OA=.3## LENGTH OF UPPER ARM IN m\n",
"m=6.## MASS OF EACH BALL IN Kg\n",
"M=18.## MASS OF SLEEVE IN Kg\n",
"r2=.2## RADIUS OF ROTATION AT BEGINING IN m\n",
"r1=.25## RADIUS OF ROTATION AT MAX SPEED IN m\n",
"##===========================================================================================\n",
"h1=(OA**2.-r1**2.)**.5## HIEGHT OF GOVERNOR AT MAX SPEED IN m\n",
"N1=(895.*(m+M)/(h1*m))**.5## MAX SPEED IN rpm\n",
"h2=(OA**2.-r2**2.)**.5## HEIGHT OF GONERNOR AT BEGINING IN m\n",
"N2=(895.*(m+M)/(h2*m))**.5## MIN SPEED IN rpm\n",
"##===========================================================================================\n",
"print'%s %.1f %s %.1f %s %.1f %s'%('MAX SPEED = ',N1,' rpm'' MIN SPEED = ',N2,' rpm''RANGE OF SPEED = ',N1-N2,' rpm')\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"MAX SPEED = 146.9 rpm MIN SPEED = 126.5 rpmRANGE OF SPEED = 20.4 rpm\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex3-pg197"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 3 PAGE NO 197\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.6\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"OA=.25## LENGHT OF UPPER ARM IN m\n",
"CD=.03## DISTANCE BETWEEN LEEVE AND LOWER ARM IN m\n",
"m=6.## MASS OF BALL IN Kg\n",
"M=48.## MASS OF SLEEVE IN Kg\n",
"AE=.17## FROM FIGURE 7.6\n",
"AE1=.12## FROM FIGURE 7.6\n",
"r1=.2## RADIUS OF ROTATION AT MAX SPEED IN m\n",
"r2=.15## RADIUS OF ROTATION AT MIN SPEED IN m\n",
"##============================================================================================\n",
"h1=(OA**2-r1**2)**.5## HIEGHT OF GOVERNOR AT MIN SPEED IN m\n",
"TANalpha=r1/h1\n",
"TANbeeta=AE/(OA**2-AE**2)**.5\n",
"k=TANbeeta/TANalpha\n",
"N1=(895.*(m+(M*(1.+k)/2.))/(h1*m))**.5## MIN SPEED IN rpm\n",
"h2=(OA**2-r2**2)**.5## HIEGHT OF GOVERNOR AT MAX SPEED IN m\n",
"CE=(OA**2-AE1**2)**.5\n",
"TANalpha1=r2/h2\n",
"TANbeeta1=(r2-CD)/CE\n",
"k=TANbeeta1/TANalpha1\n",
"N2=(895.*(m+(M*(1.+k)/2.))/(h2*m))**.5## MIN SPEED IN rpm\n",
"##========================================================================================================\n",
"print'%s %.1f %s %.1f %s %.1f %s'%('MAX SPEED = ',N1,' rpm'' MIN SPEED = ',N2,' rpm''RANGE OF SPEED = ',N1-N2,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"MAX SPEED = 215.5 rpm MIN SPEED = 188.2 rpmRANGE OF SPEED = 27.2 rpm\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex4-pg199"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 4 PAGE NO 199\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.7\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"g=9.81## ACCELERATION DUE TO GRAVITY \n",
"OA=.20## LENGHT OF UPPER ARM IN m\n",
"AC=.20## LENGTH OF LOWER ARM IN m\n",
"CD=.025## DISTANCE BETWEEN AXIS AND LOWER ARM IN m\n",
"AB=.1## RADIUS OF ROTATION OF BALLS IN m\n",
"N2=250## SPEED OF THE GOVERNOR IN rpm\n",
"X=.05## SLEEVE LIFT IN m\n",
"m=5.## MASS OF BALL IN Kg\n",
"M=20.## MASS OF SLEEVE IN Kg\n",
"##===========================================================\n",
"h2=(OA**2.-AB**2.)**.5## OB DISTANCE IN m IN FIGURE\n",
"h21=(AC**2.-(AB-CD)**2.)**.5## BD DISTANCE IN m IN FIGURE\n",
"TANbeeta=(AB-CD)/h21## TAN OF ANGLE OF INCLINATION OF THE LINK TO THE VERTICAL\n",
"TANalpha=AB/h2## TAN OF ANGLE OF INCLINATION OF THE ARM TO THE VERTICAL\n",
"k=TANbeeta/TANalpha\n",
"c=X/(2.*(h2*(1.+k)-X))## PERCENTAGE INCREASE IN SPEED \n",
"n=c*N2## INCREASE IN SPEED IN rpm\n",
"N1=N2+n## SPEED AFTER LIFT OF SLEEVE\n",
"E=c*g*((2.*m/(1.+k))+M)## GOVERNOR EFFORT IN N\n",
"P=E*X## GOVERNOR POWER IN N-m\n",
"\n",
"print'%s %.1f %s %.2f %s %.1f %s '%('SPEED OF THE GOVERNOR WHEN SLEEVE IS LIFT BY 5 cm = ',N1,' rpm'' GOVERNOR EFFORT = ',E,' N' 'GOVERNOR POWER = ',P,' N-m')\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"SPEED OF THE GOVERNOR WHEN SLEEVE IS LIFT BY 5 cm = 275.6 rpm GOVERNOR EFFORT = 25.95 NGOVERNOR POWER = 1.3 N-m \n"
]
}
],
"prompt_number": 5
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex5-pg200"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 5 PAGE NO 200\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.8\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"g=9.81## ACCELERATION DUE TO GRAVITY \n",
"OA=.30## LENGHT OF UPPER ARM IN m\n",
"AC=.30## LENGTH OF LOWER ARM IN m\n",
"m=10.## MASS OF BALL IN Kg\n",
"M=50.## MASS OF SLEEVE IN Kg\n",
"r=.2## RADIUS OF ROTATION IN m\n",
"CD=.04## DISTANCE BETWEEN AXIS AND LOWER ARM IN m\n",
"F=15.## FRICTIONAL LOAD ACTING IN N\n",
"##============================================================\n",
"h=(OA**2-r**2)**.5## HIEGTH OF THE GOVERNOR IN m\n",
"AE=r-CD## AE VALUE IN m\n",
"CE=(AC**2-AE**2)**.5## BD DISTANCE IN m\n",
"TANalpha=r/h## TAN OF ANGLE OF INCLINATION OF THE ARM TO THE VERTICAL\n",
"TANbeeta=AE/CE## TAN OF ANGLE OF INCLINATION OF THE LINK TO THE VERTICAL\n",
"k=TANbeeta/TANalpha\n",
"N=((895./h)*(m+(M*(1.+k)/2.))/m)**.5## EQULIBRIUM SPEED IN rpm\n",
"N1=((895./h)*((m*g)+(M*g+F)/2.)*(1.+k)/(m*g))**.5## MAX SPEED IN rpm\n",
"N2=((895./h)*((m*g)+(M*g-F)/2.)*(1.+k)/(m*g))**.5## MIN SPEED IN rpm\n",
"R=N1-N2## RANGE OF SPEED\n",
"print'%s %.1f %s %.1f %s '%('EQUILIBRIUM SPEED OF GOVERNOR = ',N,' rpm'' RANGE OF SPEED OF GOVERNOR= ',R,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"EQUILIBRIUM SPEED OF GOVERNOR = 145.1 rpm RANGE OF SPEED OF GOVERNOR= 3.4 rpm \n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex6-pg202"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 6 PAGE NO 202\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.9\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"g=9.81## ACCELERATION DUE TO GRAVITY \n",
"OA=.30## LENGHT OF UPPER ARM IN m\n",
"AC=.30## LENGTH OF LOWER ARM IN m\n",
"m=5.## MASS OF BALL IN Kg\n",
"M=25.## MASS OF SLEEVE IN Kg\n",
"X=.05## LIFT OF THE SLEEVE\n",
"alpha=30.## ANGLE OF INCLINATION OF THE ARM TO THE VERTICAL\n",
"##==============================================\n",
"h2=OA*math.cos(alpha/57.3)## HEIGHT OF THE GOVERNOR AT LOWEST POSITION OF SLEEVE\n",
"h1=h2-X/2.## HEIGHT OF THE GOVERNOR AT HEIGHT POSITION OF SLEEVE\n",
"F=((h2/h1)*(m*g+M*g)-(m*g+M*g))/(1.+h2/h1)## FRICTION AT SLEEVE IN N\n",
"N1=((m*g+M*g+F)*895./(h1*m*g))**.5## MAX SPEEED OF THE GOVVERNOR IN rpm\n",
"N2=((m*g+M*g-F)*895./(h2*m*g))**.5## MIN SPEEED OF THE GOVVERNOR IN rpm\n",
"R=N1-N2## RANGE OF SPEED IN rpm\n",
"\n",
"print'%s %.1f %s %.1f %s'%('THE VALUE OF FRICTIONAL FORCE= ',F,' F'' RANGE OF SPEED OF THE GOVERNOR = ',R,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"THE VALUE OF FRICTIONAL FORCE= 14.9 F RANGE OF SPEED OF THE GOVERNOR = 14.9 rpm\n"
]
}
],
"prompt_number": 7
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex7-pg203"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 7 PAGE NO 203\n",
"##TITLE:GOVERNORS\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"PI=3.147\n",
"m=3## MASS OF EACH BALL IN Kg\n",
"a=.12## LENGTH OF VERTICAL ARM OF BELL CRANK LEVER IN m\n",
"b=.08## LENGTH OF HORIZONTAL ARM OF BELL CRANK LEVER IN m\n",
"r2=.12## RADIUS OF ROTATION OF THE BALL FOR LOWEST POSITION IN m\n",
"N2=320.## SPEED OF GOVERNOR AT THE BEGINING IN rpm\n",
"S=20000.## STIFFNESS OF THE SPRING IN N/m\n",
"h=.015## SLEEVE LIFT IN m\n",
"##==================================================\n",
"Fc2=m*(2.*PI*N2/60.)**2*r2## CENTRIFUGAL FORCE ACTING AT MIN SPEED OF ROTATION IN N\n",
"L=2*a*Fc2/b## INITIAL LOAD ON SPRING IN N\n",
"r1=a/b*h+r2## MAX RADIUS OF ROTATION IN m\n",
"Fc1=(S*(r1-r2)*(b/a)**2/2)+Fc2## CENTRIFUGAL FORCE ACTING AT MAX SPEED OF ROTATION IN N\n",
"N1=(Fc1/(m*r1)*(60./2./PI)**2)**.5\n",
"print'%s %.1f %s %.1f %s '%('INITIAL LOAD ON SPRING =',L,' N'' EQUILIBRIUM SPEED CORRESPONDING TO LIFT OF 15 cm =',N1,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"INITIAL LOAD ON SPRING = 1217.0 N EQUILIBRIUM SPEED CORRESPONDING TO LIFT OF 15 cm = 327.9 rpm \n"
]
}
],
"prompt_number": 8
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex7-pg204"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 8 PAGE NO 204\n",
"##TITLE:GOVERNORS\n",
"\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"PI=3.147\n",
"m=3## MASS OF BALL IN Kg\n",
"r2=.2## INITIAL RADIUS OF ROTATION IN m\n",
"a=.11## LENGTH OF VERTICAL ARM OF BELL CRANK LEVER IN m\n",
"b=.15## LENGTH OF HORIZONTAL ARM OF BELL CRANK LEVER IN m\n",
"h=.004## SLEEVE LIFT IN m\n",
"N2=240.## INITIAL SPEED IN rpm\n",
"n=7.5## FLUCTUATION OF SPEED IN %\n",
"##===================================\n",
"w2=2.*PI*N2/60.## INITIAL ANGULAR SPEED IN rad/s\n",
"w1=(100.+n)*w2/100.## FINAL ANGULAR SPEED IN rad/s\n",
"F=2.*a/b*m*w2**2.*r2## INITIAL COMPRESSIVE FORCE IN N\n",
"r1=r2+a/b*h## MAX RDIUS OF ROTATION IN m\n",
"S=2.*((m*w1**2.*r1)-(m*w2**2.*r2))/(r1-r2)*(a/b)**2.\n",
"print'%s %.1f %s %.1f %s'%('INITIAL COMPRESSIVE FPRCE = ',F,' N'' STIFFNESS OF THE SPRING = ',S/1000,' N/m')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"INITIAL COMPRESSIVE FPRCE = 557.8 N STIFFNESS OF THE SPRING = 24.1 N/m\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex9-pg204"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 9 PAGE NO 204\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.3(C)\n",
"\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"g=9.81## ACCELERATION DUE TO GRAVITY \n",
"PI=3.147\n",
"r=.14## DISTANCE BETWEEN THE CENTRE OF PIVOT OF BELL CRANK LEVER AND AXIS OF GOVERNOR SPINDLE IN m\n",
"r2=.11## INITIAL RADIUS OF ROTATION IN m\n",
"a=.12## LENGTH OF VERTICAL ARM OF BELL CRANK LEVER IN m\n",
"b=.10## LENGTH OF HORIZONTAL ARM OF BELL CRANK LEVER IN m\n",
"h=.05## SLEEVE LIFT IN m\n",
"N2=240## INITIAL SPEED IN rpm\n",
"F=30## FRICTIONAL FORCE ACTING IN N\n",
"m=5## MASS OF EACH BALL IN Kg\n",
"##==========================================\n",
"r1=r2+a/b*h## MAX RADIUS OF ROTATION IN m\n",
"N1=41.*N2/39.## MAX SPEED OF ROTATION IN rpm\n",
"N=(N1+N2)/2.## MEAN SPEED IN rpm\n",
"Fc1=m*(2.*PI*N1/60.)**2.*r1## CENTRIFUGAL FORCE ACTING AT MAX SPEED OF ROTATION IN N\n",
"Fc2=m*(2.*PI*N2/60.)**2.*r2## CENTRIFUGAL FORCE ACTING AT MIN SPEED OF ROTATION IN N\n",
"c1=r1-r## FROM FIGURE 7.3(C) IN m\n",
"a1=(a**2.-c1**2.)**.5## FROM FIGURE 7.3(C) IN m\n",
"b1=(b**2.-(h/2.)**2.)**.5## FROM FIGURE 7.3(C) IN m\n",
"c2=r-r2## FROM FIGURE 7.3(C) IN m\n",
"a2=a1## FROM FIGURE 7.3(C) IN m\n",
"b2=b1## FROM FIGURE 7.3(C) IN m\n",
"S1=2.*((Fc1*a1)-(m*g*c1))/b1## SPRING FORCE EXERTED ON THE SLEEVE AT MAXIMUM SPEED IN NEWTONS\n",
"S2=2.*((Fc2*a2)-(m*g*c2))/b2## SPRING FORCE EXERTED ON THE SLEEVE AT MAXIMUM SPEED IN NEWTONS\n",
"S=(S1-S2)/h## STIFFNESS OF THE SPRING IN N/m\n",
"Is=S2/S## INITIAL COMPRESSION OF SPRING IN m\n",
"P=S2+(h/2.*S)## SPRING FORCE OF MID PORTION IN N\n",
"n1=N*((P+F)/P)**.5## SPEED,WHEN THE SLEEVE BEGINS TO MOVE UPWARDS FROM MID POSITION IN rpm\n",
"n2=N*((P-F)/P)**.5## SPEED,WHEN THE SLEEVE BEGINS TO MOVE DOWNWARDS FROM MID POSITION IN rpm\n",
"A=n1-n2## ALTERATION IN SPEED IN rpm\n",
"print'%s %.1f %s %.1f %s '%('INTIAL COMPRESSION OF SPRING= ',Is*100,' cm''ALTERATION IN SPEED = ',A,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"INTIAL COMPRESSION OF SPRING= 6.8 cmALTERATION IN SPEED = 6.7 rpm \n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex10-pg206"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 10 PAGE NO 206\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.10\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"PI=3.147\n",
"AE=.25## LENGTH OF UPPER ARM IN m\n",
"CE=.25## LENGTH OF LOWER ARM IN m\n",
"EH=.1## LENGTH OF EXTENDED ARM IN m\n",
"EF=.15## RADIUS OF BALL PATH IN m\n",
"m=5.## MASS OF EACH BALL IN Kg\n",
"M=40.## MASS OF EACH BALL IN Kg\n",
"##===================================================================\n",
"h=(AE**2.-EF**2.)**.5## HEIGHT OF THE GOVERNOR IN m\n",
"EM=h\n",
"HM=EH+EM## FROM FIGURE 7.10\n",
"N=((895./h)*(EM/HM)*((m+M)/m))**.5\n",
"print'%s %.1f %s'%('EQUILIBRIUM SPEED OF GOVERNOR =',N,' rpm')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"EQUILIBRIUM SPEED OF GOVERNOR = 163.9 rpm\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex11-pg207"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 11 PAGE NO 207\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.11\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"PI=3.147\n",
"g=9.81## ACCELERATION DUE TO GRAVITY IN N/mm**2\n",
"AE=.25## LENGTH OF UPPER ARM IN m\n",
"CE=.25## LENGTH OF LOWER ARM IN m\n",
"ER=.175## FROM FIGURE 7.11\n",
"AP=.025## FROM FIGURE 7.11\n",
"FR=AP## FROM FIGURE 7.11\n",
"CQ=FR## FROM FIGURE 7.11\n",
"m=3.2## MASS OF BALL IN Kg\n",
"M=25.## MASS OF SLEEVE IN Kg\n",
"h=.2## VERTICAL HEIGHT OF GOVERNOR IN m\n",
"EM=h## FROM FIGURE 7.11\n",
"AF=h## FROM FIGURE 7.11\n",
"N=160.## SPEED OF THE GOVERNOR IN rpm\n",
"HM=(895.*EM*(m+M)/(h*N**2.*m))\n",
"x=HM-EM## LENGTH OF EXTENDED LINK IN m\n",
"T1=g*(m+M/2.)*AE/AF## TENSION IN UPPER ARM IN N\n",
"print'%s %.3f %s %.1f %s'%('LENGTH OF EXTENDED LINK = ',x,' m''TENSION IN UPPER ARM =',T1,' N')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"LENGTH OF EXTENDED LINK = 0.108 mTENSION IN UPPER ARM = 192.5 N\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex12-pg208"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"##CHAPTER 7 ILLUSRTATION 12 PAGE NO 208\n",
"##TITLE:GOVERNORS\n",
"##FIGURE 7.12,7.13\n",
"import math\n",
"##===========================================================================================\n",
"##INPUT DATA\n",
"PI=3.147\n",
"EF=.20## MINIMUM RADIUS OF ROTATION IN m\n",
"AE=.30## LENGTH OF EACH ARM IN m\n",
"A1E1=AE## COMPARING FIRUES 7.12&7.13\n",
"EC=.30## LENGTH OF EACH ARM IN m\n",
"E1C1=EC## LENGTH OF EACH ARM IN m\n",
"ED=.165## FROM FIGURE 7.12 IN m\n",
"MC=ED## FROM FIGURE 7.12\n",
"EH=.10## FROM FIGURE 7.12 IN m\n",
"m=8.## MASS OF BALL IN Kg \n",
"M=60.## MASS OF SLEEVE IN Kg\n",
"DF=.035## SLEEVE DISTANCE FROM AXIS IN m\n",
"E1F1=.25## MAX RADIUS OF ROTATION IN m\n",
"g=9.81\n",
"##=========================================================\n",
"alpha=math.asin((EF/AE))*57.3## ANGLE OF INCLINATION OF THE ARM TO THE VERTICAL IN DEGREES\n",
"beeta=math.asin((ED/EC))*57.3## ANGLE OF INCLINATION OF THE ARM TO THE HORIZONTAL IN DEGREES\n",
"k=math.tan(beeta/57.3)/math.tan(alpha/57.3)\n",
"h=(AE**2.-EF**2.)**.5## HEIGHT OF GOVERNOR IN m\n",
"EM=(EC**2.-MC**2.)**.5## FROM FIGURE 7.12 IN m\n",
"HM=EM+EH\n",
"N2=(895.*EM*(m+(M/2.*(1.+k)))/(h*HM*m))**.5## EQUILIBRIUM SPEED AT MAX RADIUS\n",
"HC=(HM**2.+MC**2.)**.5## FROM FIGURE 7.13 IN m\n",
"H1C1=HC\n",
"gama=math.atan((MC/HM))*57.3\n",
"alpha1=math.asin((E1F1/A1E1))*57.3\n",
"E1D1=E1F1-DF## FROM FIGURE 7.13 IN m\n",
"beeta1=math.asin((E1D1/E1C1))*57.3\n",
"gama1=gama-beeta+beeta1\n",
"r=H1C1*math.sin(gama1/57.3)+DF## RADIUS OF ROTATION IN m\n",
"H1M1=H1C1*math.cos((gama1/57.3))\n",
"I1C1=E1C1*math.cos(beeta1/57.3)*(math.tan(alpha1/57.3)+math.tan(beeta1/57.3))## FROM FIGURE IN m\n",
"M1C1=H1C1*math.sin(gama1/57.3)\n",
"w1=(((m*g*(I1C1-M1C1))+(M*g*I1C1)/2.)/(m*r*H1M1))**.5## ANGULAR SPEED IN rad/s\n",
"N1=w1*60./(2.*PI)## ##SPEED IN m/s\n",
"print'%s %.1f %s %.1f %s '%('MINIMUM SPEED OF ROTATION =',N2,' rpm'' MAXIMUM SPEED OF ROTATION = ',N1,' rpm')\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"MINIMUM SPEED OF ROTATION = 146.6 rpm MAXIMUM SPEED OF ROTATION = 156.3 rpm \n"
]
}
],
"prompt_number": 3
}
],
"metadata": {}
}
]
}
|