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
|
{
"metadata": {
"name": "",
"signature": "sha256:b67efe642bf9e9729105e3923ad7beb49ea7d0158d7e2b0caa861c9f34280019"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Ch:29 Gearbox"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"exa 29-1 - Page 749"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from __future__ import division\n",
"from math import sqrt, pi\n",
"Ts1=16#\n",
"Ts2=18#\n",
"Ts3=20#\n",
"Ts4=25#\n",
"Tr1=64#\n",
"Tr2=63#\n",
"Tr3=70#\n",
"Tr4=50#\n",
"#Let Nr1/Nr2=G1\n",
"G1=1+(Ts1/Tr1)#\n",
"#Let Nr1/Ni=G2\n",
"G2=(Ts2/(Tr2*(1-(1/G1)+(Ts2/Tr2))))#\n",
"#Let Ni/No=G3 (third gear)\n",
"G3=(1+(Ts3/Tr3))/((Ts3/Tr3)+G2)#\n",
"\n",
"#Let Ni/Nr1=G4\n",
"#The ratio calculations are done as above\n",
"G4=1.2857/0.2857#\n",
"#Let Ni/No =G5(second gear)\n",
"G5=-20/70#\n",
"#Let Ni/No=G6(first gear)\n",
"G6=1.2857/0.2857#\n",
"#Let Ni/No=G7(reverse gear)\n",
"G7=-1.7143/0.2857#\n",
"print \"ratio for third gear is %0.3f \"%(G3)#\n",
"print \"\\nratio for second gear is %0.4f \"%(G5)#\n",
"print \"\\nratio for first gear is %0.1f \"%(G6)#\n",
"print \"\\nratio for reverse gear is %0.3f \"%(G7)#\n",
" "
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"ratio for third gear is 1.471 \n",
"\n",
"ratio for second gear is -0.2857 \n",
"\n",
"ratio for first gear is 4.5 \n",
"\n",
"ratio for reverse gear is -6.000 \n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"exa 29-2 - Page 751"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Let reverse speed gear be RSG\n",
"RSG=5.5#\n",
"#Let T5/T6 = Z1\n",
"T1=2#\n",
"#Let T3/T7 = Z2\n",
"Z2=2.75#\n",
"T7=18#\n",
"T3=Z2*T7#\n",
"T3=50#\n",
"#Let T3/T1 =Z3\n",
"Z3=2.5#\n",
"T1=T3/Z3#\n",
"#Let T4/T2 = Z4\n",
"Z4=2.25/2#\n",
"T2=(T1+T3)/(Z4+1)#\n",
"T4=T1+T3-T2#\n",
"#Let T5/T6=Z5\n",
"Z5=2#\n",
"T6=(T1+T3)/3#\n",
"T5=(T1+T3)-T6#\n",
"T7=18#\n",
"#let first gear ratio is G1\n",
"G1=50*47/(20*23)#\n",
"\n",
"#Let 2nd gear ratio is G2\n",
"G2=37*47/(33*23)#\n",
"#Let 3rd gear ratio is G3\n",
"G3=1#\n",
"#Let reverse gear ratio is R\n",
"R=50*47/(18*23)#\n",
"print \"T1 is %0.0f \"%(T1)#\n",
"print \"\\nT2 is %0.0f \"%(T2)#\n",
"print \"\\nT3 is %0.0f \"%(T3)#\n",
"print \"\\nT4 is %0.0f \"%(T4)#\n",
"print \"\\nT5 is %0.0f \"%(T5)#\n",
"print \"\\nT6 is %0.0f \"%(T6)#\n",
"print \"\\nT7 is %0.0f \"%(T7)#\n",
"print \"\\nG1 is %0.3f \"%(G1)#\n",
"print \"\\nG2 is %0.3f \"%(G2)#\n",
"print \"\\nG3 is %0.1f \"%(G3)#\n",
"print \"\\nR is %0.3f \"%(R)#\n",
" "
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"T1 is 20 \n",
"\n",
"T2 is 33 \n",
"\n",
"T3 is 50 \n",
"\n",
"T4 is 37 \n",
"\n",
"T5 is 47 \n",
"\n",
"T6 is 23 \n",
"\n",
"T7 is 18 \n",
"\n",
"G1 is 5.109 \n",
"\n",
"G2 is 2.291 \n",
"\n",
"G3 is 1.0 \n",
"\n",
"R is 5.676 \n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"exa 29-3 - Page 752"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Let the constant gear ratio be G\n",
"G=2#\n",
"x=5.5**(1/3)#\n",
"G1=1#\n",
"G2=x#\n",
"G3=x*x#\n",
"G4=x**3#\n",
"T7=18#\n",
"T8=T7*(x**3)/2#\n",
"T8=51#\n",
"T5=69/2.558#\n",
"T6=69-27#\n",
"T4=69/1.8825#\n",
"T3=69-T4#\n",
"T1=23#\n",
"T2=46#\n",
"T9=18#\n",
"G1=T2*T8/(T1*T7)#\n",
"G2=T2*T6/(T1*T5)#\n",
"G3=1#\n",
"G4=-T2*T8/(T1*T9)#\n",
"print \"T1 is %0.0f \"%(T1)#\n",
"print \"\\nT2 is %0.0f \"%(T2)#\n",
"print \"\\nT3 is %0.0f \"%(T3)#\n",
"print \"\\nT4 is %0.0f \"%(T4)#\n",
"print \"\\nT5 is %0.0f \"%(T5)#\n",
"print \"\\nT6 is %0.0f \"%(T6)#\n",
"print \"\\nT7 is %0.0f \"%(T7)#\n",
"print \"\\nT8 is %0.0f \"%(T8)#\n",
"print \"\\nT9 is %0.0f \"%(T9)#\n",
"print \"\\nG1 is %0.3f \"%(G1)#\n",
"print \"\\nG2 is %0.3f \"%(G2)#\n",
"print \"\\nG3 is %0.3f \"%(G3)#\n",
"print \"\\nG4 is %0.3f \"%(G4)#"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"T1 is 23 \n",
"\n",
"T2 is 46 \n",
"\n",
"T3 is 32 \n",
"\n",
"T4 is 37 \n",
"\n",
"T5 is 27 \n",
"\n",
"T6 is 42 \n",
"\n",
"T7 is 18 \n",
"\n",
"T8 is 51 \n",
"\n",
"T9 is 18 \n",
"\n",
"G1 is 5.667 \n",
"\n",
"G2 is 3.114 \n",
"\n",
"G3 is 1.000 \n",
"\n",
"G4 is -5.667 \n"
]
}
],
"prompt_number": 3
}
],
"metadata": {}
}
]
}
|