Ayush Dots
Ayush Dots
P=input('power in KW
N=input('motor speed in rpm
Nmax=input('max output speed
Nmin=input('min output speed
r=input('number of speeds
');
');
');
');
');
fprintf('\n')
fprintf('input the values of stresses\n')
% first
Sc=input('compressive strength of the material
');
Sb=input('bending strength of the material
');
E=input('equivalent modulus
');
U=0.3;
fprintf('min centre distance and modulus between spindle and shaft1')
i=i1;
Mt1=97420*P*1.3/N10;
a1=((((0.74/Sc)^2)*E*Mt1)/(i*U))^(1/3)*(i+1)
Z=20;
y=0.389;
Um=10;
m1=((Mt1/(y*Sb*Um*Z))^(1/3))*1.26
Z1=round((2*a1)/(m1*(i+1)))
Z2=round(i*Z1)
fprintf('number of teeths in other mating gears\n')
d=Z1+Z2;
Z3=round( (d*i2)/(i2+1))
Z4= round(d/(i2+1))
Z5= round((d*i3)/(i3+1))
Z6= round(d/(i3+1))
%second
fprintf('\n');
fprintf('min centre distance and modulus between shaft1 and motor')
i=i10;
Mt2=97420*P*1.3/N;
a2=((((0.74/Sc)^2)*E*Mt2)/(i*U))^(1/3)*(i+1)
Z=20;
m2=((Mt2/(y*Sb*Um*Z))^(1/3))*1.26
Z7=round((2*a2)/(m2*(i+1)))
Z8=round(i*Z7)
fprintf('number of teeths in other mating gears\n')
d=Z7+Z8;
Z9= round((d*i11)/(i11+1))
Z10= round(d/(i11+1))
Z11= round((d*i12)/(i12+1))
Z12= round(d/(i12+1))
RESULT
power in KW
progression ratio
q=
1.2754
input all the values of speed form max to min using data book
speed1
100
speed2
125
speed3
160
speed4
200
speed5
250
speed6
315
speed7
400
speed8
500
speed9
630
4000
2.15*1000000
m1 =
0.2566
Z1 =
26
Z2 =
63
Z5 =
53
Z6 =
36
Z7 =
19
Z8 =
110