You are on page 1of 3

EXPERIMENT NO.

4
PROBLEM :- design a worm and worm gear when power 1 Kw ,centre distance 225mm ,Nw
1400 RPM and Vr 12.
PROGRAM
#include<stdio.h>
#include<conio.h>
void main()
{
float x,Dw,Dg,l,ln,h,a,Dow,Pa,tw,tg,b,Dt,Wt,Wtl,Cv,U,Q,P,Nw,Vr,n,M,Ng,V,J,Dog,Cs,St,Y,vr;
clrscr();
printf("enter the value center distance x,vr,U,speed of warm Nw,Dw,velocity ratio Vr,n,Cs,st,Y,enter
the value of power in watt\n");
scanf("%f%f%f%f%f%f%f%f%f%f%f",&x,&Dw,&vr,&U,&Nw,&Vr,&Nw,&n,&Cs,&St,&Y,&P);
x=(Dg+Dw)/2;
l=(3.14*Dw)/Vr;
ln=l*0.91;
Pa=l/n;
a=0.286*Pa;
Dow=Dw+(2*a);
M=Pa/3.14;
Ng=Nw/Vr;
V=0.052*Dg*Ng;
J=0.025+(0.003281*vr);
Dog=Dg+(0.8093*Pa);
b=(2.15*Pa)+5;
Dt=Dg+(0.257*Pa);
Wt=(P*Cs)/V;
Cv=(6.1/(6.1+V));
Wtl=St*Cv*b*3.14*M*Y;
printf("\n x is %f",x);
printf("\nl is %f",l);
printf("\n ln is %f",ln);
printf("\n Pa is %f",Pa);
printf("\n a is %f", a);
printf("\n Dow is %f",Dow);
printf("\n M is %f",M);
printf(" Ng is %f",Ng);
printf("V is %f",V);
printf("J is %f", J);
printf("Dog is %f",Dog);
printf("b is %f",b);
printf("Dt is %f",Dt);
printf("Wt is %f",Wt);
printf("Cv is %f",Cv);
printf("Wtl is %f",Wtl);
{
if(Wtl>Wt)
{
printf("\n\n design is safe");
}
if(Wtl<Wt)
{
printf("\n\n design is fail");
}
}
getch();
}
OUTPUT

You might also like