summaryrefslogtreecommitdiff
path: root/Theory_Of_Machines/ch6.ipynb
blob: dfc6f728bf82f820dfb1c7cf0a107b8cbaf3caf0 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:1b2bc75a9da3f88ed85d2991e9ff321b52f8f56e21ca05cba6bbfb84f1e84dc2"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 6 : Velocity in Mechanisms(Instantaneous Centre Method)"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.1 Page No : 126"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "NAB = 100. \t\t\t#rpm\n",
      "AB = 300./1000\n",
      "BC = 360./1000\n",
      "CD = BC \t\t\t#m\n",
      "\n",
      "#Solution:\n",
      "#Refer Fig. 6.9\n",
      "#Calculating the angular speed of link AB\n",
      "omegaAB = 2*math.pi*NAB/60 \t\t\t#rad/s\n",
      "#Calculating the velocity of point B on link AB\n",
      "vB = omegaAB*AB \t\t\t#m/s\n",
      "#Calculating the angular velocity of link BC\n",
      "#By measurement from instantaneous centre diagram  Fig. 6.10\n",
      "\n",
      "I13B = 500./1000 \t\t\t#m\n",
      "omegaBC = vB/I13B \t\t\t#rad/s\n",
      "\n",
      "#Results:\n",
      "print \" The angular velocity of the link BC omegaBC  =  %.3f rad/s.\"%(omegaBC)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The angular velocity of the link BC omegaBC  =  6.283 rad/s.\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.2 Page No : 128"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "omegaOB = 10. \t\t\t#rad/s\n",
      "OB = 100/1000. \t\t\t#m\n",
      "\n",
      "#Solution:\n",
      "#Refer Fig. 6.12\n",
      "#Calculating the velocity of the crank OB\n",
      "vOB = omegaOB*OB \t\t\t#m/s\n",
      "vB = vOB\n",
      "#By measurement from the instantaneous cemtre diagram  Fig. 6.13\n",
      "\n",
      "I13A = 460./1000\n",
      "I13B = 560./1000 \t\t\t#m\n",
      "#Calculating the velocity of slider A\n",
      "vA = vB/I13B*I13A\n",
      "#Calculating the angular velocity of the connecting rod AB\n",
      "omegaAB = vB/I13B \t\t\t#rad/s\n",
      "\n",
      "#Results:\n",
      "print \"The velocity of slider A vA  =  %.2f m/s.\"%(vA)\n",
      "print \"The angular velocity of connecting rod AB omegaAB  =  %.2f rad/s.\"%(omegaAB)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The velocity of slider A vA  =  0.82 m/s.\n",
        "The angular velocity of connecting rod AB omegaAB  =  1.79 rad/s.\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.3 Page No : 130"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "NOA = 120. \t\t\t#rpm\n",
      "OA = 200./1000 \t\t\t#m/s\n",
      "\n",
      "#Results:\n",
      "#Refer Fig. 6.15\n",
      "#Calculating the angular velocity of the crank OA\n",
      "omegaOA = 2*math.pi*NOA/60 \t\t\t#rad/s\n",
      "#Calculating the velocity of crank OA\n",
      "vOA = omegaOA*OA \t\t\t#m/s\n",
      "vA = vOA\n",
      "#By measurement from the instantaneous cemtre diagram Fig. 6.16\n",
      "\n",
      "I13A = 840./1000\n",
      "I13B = 1070./1000\n",
      "I14B = 400./1000\n",
      "I14C = 200./1000\n",
      "I15C = 740./1000\n",
      "I15D = 500./1000 \t\t\t#m\n",
      "\n",
      "#Calculating the velocity of point B\n",
      "vB = vA/I13A*I13B \t\t\t#m/s\n",
      "#Calculating the velocity of point C\n",
      "vC = vB/I14B*I14C \t\t\t#m/s\n",
      "#Calculating the velocity of point B\n",
      "vD = vC/I15C*I15D \t\t\t#m/s\n",
      "#Calculating the angular velocity of the link AB\n",
      "omegaAB = vA/I13A \t\t\t#rad/s\n",
      "#Calculating the angular velocity of the link BC\n",
      "omegaBC = vB/I14B \t\t\t#rad/s\n",
      "#Calculating the angular velocity of the link CD\n",
      "omegaCD = vC/I15C \t\t\t#rad/s\n",
      "\n",
      "#Results:\n",
      "print \" The velocity of point B vB  =  %.1f m/s.\"%(vB)\n",
      "print \" The velocity of point C vC  =  %.1f m/s.\"%(vC)\n",
      "print \" The velocity of point D vD  =  %.2f m/s.\"%(vD)\n",
      "print \" The angular velocity of the link AB omegaAB  =  %.2f rad/s.\"%(omegaAB)\n",
      "print \" The angular velocity of the link BC omegaBC  =  %d rad/s.\"%(omegaBC)\n",
      "print \" The angular velocity of the link CD omegaCD  =  %.2f rad/s.\"%(omegaCD)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The velocity of point B vB  =  3.2 m/s.\n",
        " The velocity of point C vC  =  1.6 m/s.\n",
        " The velocity of point D vD  =  1.08 m/s.\n",
        " The angular velocity of the link AB omegaAB  =  2.99 rad/s.\n",
        " The angular velocity of the link BC omegaBC  =  8 rad/s.\n",
        " The angular velocity of the link CD omegaCD  =  2.16 rad/s.\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.4 Page No : 133"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "omegaO1A = 100. \t\t\t#rad/s\n",
      "O1A = 100/1000. \t\t\t#m\n",
      "\n",
      "#Solution:\n",
      "#Refer Fig. 6.18\n",
      "#Calculating the linear velocity of crank O1A\n",
      "vO1A = omegaO1A*O1A \t\t\t#m/s\n",
      "vA = vO1A\n",
      "#By measurement from the instantaneous cemtre diagram Fig. 6.19\n",
      "I13A = 910./1000\n",
      "I13B = 820./1000\n",
      "I15B = 130./1000\n",
      "I15D = 50./1000\n",
      "I16D = 200./1000\n",
      "I16E = 400./1000 \t\t\t#m\n",
      "#Calculating the velocity of point B\n",
      "vB = vA/I13A*I13B \t\t\t#m/s\n",
      "#Calculating the velocity of point D\n",
      "vD = vB/I15B*I15D \t\t\t#m/s\n",
      "#Calculating the velocity of point E\n",
      "vE = vD/I16D*I16E \t\t\t#m/s\n",
      "\n",
      "#Results:\n",
      "print \" The velocity of point B vB  =  %.2f m/s.\"%(vB)\n",
      "print \" The velocity of point D vD  =  %.2f m/s.\"%(vD)\n",
      "print \" The velocity of point E vE  =  %.2f m/s.\"%(vE)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The velocity of point B vB  =  9.01 m/s.\n",
        " The velocity of point D vD  =  3.47 m/s.\n",
        " The velocity of point E vE  =  6.93 m/s.\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.5 Page No : 135"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "NO1A = 400. \t\t\t#rpm\n",
      "O1A = 16./1000 \t\t\t#m\n",
      "\n",
      "#Solution:\n",
      "#Refer Fig. 6.21\n",
      "#Calculating the angular velocity of the crank O1A\n",
      "omegaO1A = 2*math.pi*NO1A/60 \t\t\t#rad/s\n",
      "#Calculating the linear velocity of the crank O1A\n",
      "vO1A = omegaO1A*O1A \t\t\t#m/s\n",
      "vA = vO1A\n",
      "#By measurement from the instantaneous cemtre diagram Fig. 6.22\n",
      "I13A = 41./1000\n",
      "I13B = 50./1000\n",
      "I14B = 23./1000\n",
      "I14C = 28./1000\n",
      "I15C = 65./1000\n",
      "I15D = 62./1000 \t\t\t#m\n",
      "#Calculating the velocity of point B\n",
      "vB = vA/I13A*I13B \t\t\t#m/s\n",
      "#Calculating the velocity of point C\n",
      "vC = vB/I14B*I14C \t\t\t#m/s\n",
      "#Calculating the velocity of of the needle at D\n",
      "vD = vC/I15C*I15D \t\t\t#m/s\n",
      "\n",
      "#Results:\n",
      "print \"The velocity of the needle at D vD  =  %.2f m/s.\"%(vD)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The velocity of the needle at D vD  =  0.95 m/s.\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.6 Page No : 137"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math \n",
      "\n",
      "# Variables:\n",
      "NOA = 120. \t\t\t#rpm\n",
      "#Solution:\n",
      "#Refer Fig. 6.24\n",
      "#Calculating the angular speed of crank OA\n",
      "omegaOA = 2*math.pi*NOA/60 \t\t\t#rad/s\n",
      "#By measurement from the instantaneous cemtre diagram Fig. 6.25\n",
      "I12I26 = 65./1000 \t\t\t#m\n",
      "#Calculating the velocity of the ram\n",
      "vD = omegaOA*I12I26 \t\t\t#m/s\n",
      "\n",
      "#Results:\n",
      "print \" The velocity of ram, vD  =  %.3f m/s.\"%(vD)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The velocity of ram, vD  =  0.817 m/s.\n"
       ]
      }
     ],
     "prompt_number": 1
    }
   ],
   "metadata": {}
  }
 ]
}