summaryrefslogtreecommitdiff
path: root/Theory_Of_Machines_by__B._K._Sarkar/Chapter8.ipynb
blob: 9bd9a862fcb8686f09b4f62000e5de153b8987f3 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:1cb0ae5332b03066df5ce763bd8fad0da93c877f86bbb84639588cca0d91016e"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Chapter8-BALANCING OF ROTATING MASSES"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex1-pg221"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 1 PAGE NO 221\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "import math\n",
      "mA=12.##       mass of A in kg\n",
      "mB=10.##       mass of B in kg\n",
      "mC=18.##       mass of C in kg\n",
      "mD=15.##       mass of D in kg\n",
      "rA=40.##       radius of A in mm\n",
      "rB=50.##       radius of B in mm\n",
      "rC=60.##       radius of C in mm\n",
      "rD=30.##       radius of D in mm\n",
      "theta1=0.##    angle between A-A in degrees\n",
      "theta2=60.##   angle between A-B in degrees\n",
      "theta3=130.##  angle between A-C in degrees\n",
      "theta4=270.##  angle between A-D in degrees\n",
      "R=100.##  radius at which mass to be determined in mm\n",
      "##====================================================\n",
      "Fh=(mA*rA*math.cos(theta1/57.3)+mB*rB*math.cos(theta2/57.3)+mC*rC*math.cos(theta3/57.3)+mD*rD*math.cos(theta4/57.3))/10.##    vertical component value in kg cm\n",
      "Fv=(mA*rA*math.sin(theta1/57.3)+mB*rB*math.sin(theta2/57.3)+mC*rC*math.sin(theta3/57.3)+mD*rD*math.sin(theta4/57.3))/10.##   horizontal component value in kg cm\n",
      "mb=(Fh**2.+Fv**2.)**.5/R*10.##     unbalanced mass in kg\n",
      "theta=math.atan(Fv/Fh)*57.3##   position in degrees \n",
      "THETA=180.+theta##       angle with mA\n",
      "print'%s %.1f %s %.1f %s'%('magnitude of unbalaced mass=',mb,' kg'' angle with mA=',THETA,'degrees')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "magnitude of unbalaced mass= 8.1  kg angle with mA= 267.5 degrees\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex2-pg222"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 2 PAGE NO 222\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "\n",
      "mA=5.##   mass of A in kg\n",
      "mB=10.##   mass of B in kg\n",
      "mC=8.##     mass of C in kg\n",
      "rA=10.##   radius of A in cm\n",
      "rB=15.##   radius of B in cm\n",
      "rC=10.##    radius of C in cm\n",
      "rD=10.##   radius of D in cm\n",
      "rE=15.##   radius of E in cm\n",
      "##============================\n",
      "mD=182./rD##    mass of D in kg by mearument\n",
      "mE=80./rE##     mass of E in kg  by mearument\n",
      "print'%s %.1f %s %.1f %s '%('mass of D= ',mD,' kg''mass of E= ',mE,' kg')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "mass of D=  18.2  kgmass of E=  5.3  kg \n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex3-pg223"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 3 PAGE NO 223\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "\n",
      "mA=200.##       mass of A in kg\n",
      "mB=300.##       mass of B in kg\n",
      "mC=400.##       mass of C in kg\n",
      "mD=200.##       mass of D in kg\n",
      "rA=80.##       radius of A in mm\n",
      "rB=70.##       radius of B in mm\n",
      "rC=60.##       radius of C in mm\n",
      "rD=80.##       radius of D in mm\n",
      "rX=100.##      radius of X in mm\n",
      "rY=100.##     radius of Y in mm\n",
      "##=====================\n",
      "mY=7.3/.04##    mass of Y in kg by mearurement\n",
      "mX=35./.1##      mass of X in kg by mearurement\n",
      "thetaX=146.##   in degrees by mesurement\n",
      "print'%s %.1f %s %.1f %s %.1f %s'%('mass of X=',mX,' kg'' mass of Y=',mY,' kg''angle with mA=',thetaX,' degrees')\n",
      "\t"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "mass of X= 350.0  kg mass of Y= 182.5  kgangle with mA= 146.0  degrees\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex4-pg225"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 4 PAGE NO 225\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "\n",
      "mB=30##       mass of B in kg\n",
      "mC=50##       mass of C in kg\n",
      "mD=40##       mass of D in kg\n",
      "rA=18##       radius of A in cm\n",
      "rB=24##       radius of B in cm\n",
      "rC=12##       radius of C in cm\n",
      "rD=15##       radius of D in cm\n",
      "##=============================\n",
      "mA=3.6/.18##         mass of A by measurement in kg\n",
      "theta=124.##          angle with mass B in degrees by measurement in degrees\n",
      "y=3.6/(.18*20)##     position of A from B\n",
      "print'%s %.1f %s %.1f %s %.1f %s'%('mass of A=',mA,' kg'' angle with mass B=',theta,' degrees'' position of A from B=',y,' m towards right of plane B')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "mass of A= 20.0  kg angle with mass B= 124.0  degrees position of A from B= 1.0  m towards right of plane B\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex5-pg226"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 5 PAGE NO 226\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "\n",
      "mB=10.##       mass of B in kg\n",
      "mC=5.##       mass of C in kg\n",
      "mD=4.##       mass of D in kg\n",
      "rA=10.##       radius of A in cm\n",
      "rB=12.5##       radius of B in cm\n",
      "rC=20.##       radius of C in cm\n",
      "rD=15.##       radius of D in cm\n",
      "##=====================================\n",
      "mA=7.##      mass of A in kg by mesurement\n",
      "BC=118.##     angle between B and C in degrees by mesurement\n",
      "BA=203.5##   angle between B and A in degrees by mesurement\n",
      "BD=260.##     angle between B and D in degrees by mesurement\n",
      "print'%s %.1f %s %.1f %s %.1f %s %.1f %s '%('Mass of A=',mA,' kg'' angle between B and C=',BC,' degrees''angle between B and A= ',BA,' degrees'' angle between B and D=',BD,' degrees')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Mass of A= 7.0  kg angle between B and C= 118.0  degreesangle between B and A=  203.5  degrees angle between B and D= 260.0  degrees \n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex6-pg228"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 6 PAGE NO 228\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "pi=3.141\n",
      "\n",
      "mB=36.##       mass of B in kg\n",
      "mC=25.##       mass of C in kg\n",
      "rA=20.##       radius of A in cm\n",
      "rB=15.##       radius of B in cm\n",
      "rC=15.##       radius of C in cm\n",
      "rD=20.##       radius of D in cm\n",
      "##==================================\n",
      "mA=3.9/.2##       mass of A in kg by measurement\n",
      "mD=16.5##        mass of D in kg by measurement\n",
      "theta=252.##      angular position of D from B by measurement in degrees\n",
      "print'%s %.1f %s %.1f %s %.1f %s'%('Mass of A= ',mA,' kg'' Mass od D= ',mD,' kg''  Angular position of D from B= ',theta,' degrees')\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Mass of A=  19.5  kg Mass od D=  16.5  kg  Angular position of D from B=  252.0  degrees\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Ex7-pg229"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "##CHAPTER 8 ILLUSRTATION 7 PAGE NO 229\n",
      "##TITLE:BALANCING OF ROTATING MASSES\n",
      "\n",
      "\n",
      "pi=3.141\n",
      "mA=48.##     mass of A in kg\n",
      "mB=56.##       mass of B in kg\n",
      "mC=20.##       mass of C in kg\n",
      "rA=1.5##       radius of A in cm\n",
      "rB=1.5##       radius of B in cm\n",
      "rC=1.25##       radius of C in cm\n",
      "N=300.##   speed in rpm\n",
      "d=1.8##   distance between bearing in cm\n",
      "##================================\n",
      "w=2.*pi*N/60.##        angular speed in rad/s\n",
      "BA=164.##    angle between pulleys B&A in degrees by measurement\n",
      "BC=129.##    angle between pulleys B&C in degrees by measurement\n",
      "AC=67.##     angle between pulleys A&C in degrees by measurement\n",
      "C=.88*w**2.##    out of balance couple in N\n",
      "L=C/d##    load on each bearing in N\n",
      "print'%s %.1f %s  %.1f %s  %.1f %s  %.1f %s  %.1f %s '%('angle between pulleys B&A=',BA,' degrees'' angle between pulleys B&C= ',BC,' degrees'' angle between pulleys A&C=',AC,' degrees'' out of balance couple= ',C,' N'' load on each bearing=',L,' N')"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "angle between pulleys B&A= 164.0  degrees angle between pulleys B&C=   129.0  degrees angle between pulleys A&C=  67.0  degrees out of balance couple=   868.2  N load on each bearing=  482.3  N \n"
       ]
      }
     ],
     "prompt_number": 7
    }
   ],
   "metadata": {}
  }
 ]
}