//parallel shafts connected with spur gearing l=540 //mm //d2=1080/4 //mm //d1=3*d2 //for a module of 8 //T1=810/8 but number of teeth is whole no. T1=102 //T2=270/8 but number of teeth is whole no. T2=34 //pitch circle diameter are d1=102*8 //mm d2=34*8 //mm //The exact distance between the shafts l=(d1+d2)/2 //mm printf("\nT1=%.0d \nT2=%.0d \nl=%.0d mm",T1,T2,l)