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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 11: Gear Trains"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1, Page 369"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable declaration\n",
"Ns=26#rpm of spindle\n",
"N1=4#rpm of lead screw\n",
"#the only wheel in the set of which 13 is a factor is that with 65 teeth\n",
"T1=65\n",
"T2=25#to satisfy the Ns/n1 ratio and to select from given set\n",
"T3=75#to satisfy the Ns/n1 ratio and to select from given set\n",
"\n",
"#Calculations\n",
"T4=T1*T3*N1/(Ns*T2)\n",
"#solution b\n",
"Ns1=35\n",
"N1=4\n",
"Tb1=105#to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb2=30#to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb3=100#to satisfy the Ns/n1 ratio and to select from given set\n",
"Tb4=Tb1*Tb3*N1/(Ns1*Tb2)\n",
"\n",
"#Results\n",
"print \"a)The change wheel used will have %.f, %.f, %.f and %.f teeths\\nb) The change wheel used will have %.f, %.f, %.f \"\\\n",
" \"and %.f teeths\"%(T1,T2,T3,T4,Tb1,Tb2,Tb3,Tb4)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"a)The change wheel used will have 65, 25, 75 and 30 teeths\n",
"b) The change wheel used will have 105, 30, 100 and 40 teeths\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 2, Page 371"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable declaration\n",
"v=15#ft/min\n",
"d=2#ft\n",
"N=450#rpm\n",
"\n",
"#Calculations\n",
"N1=d*v/(2*math.pi)#rpm of barrel\n",
"s=N/N1#total reduction speed required\n",
"#With a minimum number of teeth = 20\n",
"T=20\n",
"T1=T*(s)**(1./3)\n",
"R=(T1/T)**3\n",
"\n",
"#Results\n",
"print \"If the minimum number of teeth is fixed at 20, the might be as follow ( %.f / 20 )^3 = %.1f\"\\\n",
" \"\\nThis is sufficiently close to the required ratio\"%(T1,R)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"If the minimum number of teeth is fixed at 20, the might be as follow ( 91 / 20 )^3 = 94.2\n",
"This is sufficiently close to the required ratio\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 3, Page 374"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable declaration\n",
"d=7.#in; central distance\n",
"k1=2.*7*7#T1+t1/(2*7)=7\n",
"k2=2.*7*5#T2+t2/(2*5)=7\n",
"G=9./1\n",
"\n",
"#Calculations\n",
"t1=(-(k1+k2)+((k1+k2)**2+4*(G-1)*(k1*k2))**(1/2))/(2*(G-1))\n",
"a=math.ceil(t1)\n",
"b=math.floor(t1)\n",
"T1=k1-a\n",
"T2=k2-a\n",
"T3=k2-b\n",
"G1=T1*T2/(a*a)\n",
"G2=T1*T3/(a*b)\n",
"dp=a/d\n",
"#case b)\n",
"tb1=23#let t1 = 23\n",
"Tb1=k1-tb1\n",
"Gb1=Tb1/tb1\n",
"Gb2=G/Gb1\n",
"tb2=k2/(Gb2+1)\n",
"p=math.ceil(tb2)\n",
"Tb2=k2-p\n",
"l=Tb1-1\n",
"m=tb1+1\n",
"n=Tb2+1\n",
"o=p-1\n",
"Gb2=l*n/(m*o)\n",
"\n",
"#Results\n",
"print \"a) No of teeth = %.f, %.f, %.f, %.f\\nG = %.2f\\n\\nb) No of teeth = %.f, %.f, %.f, %.f\\nG = %.2f\\n\\n\"%(T1,T2,a,b,G2,l,m,n,o,Gb2)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"a) No of teeth = 108, 80, -10, -11\n",
"G = 79.53\n",
"\n",
"b) No of teeth = 74, 24, 52, 18\n",
"G = 8.91\n",
"\n",
"\n"
]
}
],
"prompt_number": 6
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 5, Page 388"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable declaration\n",
"Tb=27.\n",
"Tc=30\n",
"Td=24\n",
"Te=21\n",
"\n",
"#Calculations\n",
"k=Te*Tb/(Tc*Td)#k=Nd/Ne\n",
"#by applying componendo and dividendo, using Ne=0 and reducing we get\n",
"a=(1-k)#where a = Nd/Na\n",
"b=1./a\n",
"\n",
"#Results\n",
"print \"The ratio of the speed of driving shaft to the speed of driven shaft, Na/Nd = %.2f\"%b"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The ratio of the speed of driving shaft to the speed of driven shaft, Na/Nd = 4.71\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 6, Page 391"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable declaration\n",
"Tb=75.\n",
"Tc=18\n",
"Td=17\n",
"Te=71\n",
"N1=500#rpm\n",
"\n",
"#Calculations\n",
"k=Tb*Td/(Tc*Te)#k=Ne/Nb\n",
"#case a)\n",
"#using componendo and dividendo , Nb=0 and reducing we get\n",
"a=1-k#a=Ne/Na\n",
"Na=N1\n",
"Ne=Na*a\n",
"#case b)\n",
"Na1=500#given\n",
"Nb1=100#given\n",
"Ne1=k*(Nb1-Na1)+Na1\n",
"\n",
"#Results\n",
"print \"case a) Ne= %.3f rpm\\ncase b) Ne= %.1f rpm\"%(Ne,Ne1)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"case a) Ne= 1.174 rpm\n",
"case b) Ne= 100.9 rpm\n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 8, Page 398"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"\n",
"#Variable declaration\n",
"Td=23.\n",
"Ta=19\n",
"Tb=20\n",
"Tc=22\n",
"\n",
"#Calculations\n",
"k=Td*Ta/(Tb*Tc)\n",
"#using componendo and dividendo, Nc=0 and reducing we get\n",
"a=1./k-1#a=Nd/Ne\n",
"b=1./a#- denotes opposite direction\n",
"d=5280*12/(math.pi*5*b)\n",
"p=math.ceil(d)\n",
"\n",
"#Results\n",
"print \"The diameter must be = %.1f in\\nThe numbers of teeths are therefore suitable for a cyclometer for bicycle with %.f \"\\\n",
" \"inches wheels\"%(d,p)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The diameter must be = 27.7 in\n",
"The numbers of teeths are therefore suitable for a cyclometer for bicycle with 28 inches wheels\n"
]
}
],
"prompt_number": 12
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 10, Page 403"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable declaration\n",
"s1=26\n",
"s2=24\n",
"s3=23\n",
"sr=31\n",
"i1=70\n",
"i2=72\n",
"i3=61\n",
"ir=71\n",
"t=1500#lb in \n",
"\n",
"#Calculations\n",
"k1=-i3/s3#Ns3-Ni2/(Ni3-Ni2)=k\n",
"#S3 is fixed thus \n",
"k2=1-(1./k1)#k2=Ni3/Ni2\n",
"k3=-i2/s2#k3=Ns2-Ni3/(Ni2-Ni3)\n",
"k4=(1./k2-1)*k3+1#k4=Ns2/Ni3 ; reducing using k2 and k3\n",
"k5=-i1/s1#Ns1-Nf/(Ni1-Nf)\n",
"k6=(1-k5)/(1-k5/k4)#k6=Ns1/Nf\n",
"\n",
"#Result\n",
"print \"Ns1/Nf = %.2f\"%k6"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Ns1/Nf = 1.47\n"
]
}
],
"prompt_number": 13
}
],
"metadata": {}
}
]
}
|