1 2 3 4 5 6 7 8 9 10
clc //given T=48 m=6//mm ; module D=m*T p=%pi*m dia=D/10//cm P=p*0.0393700787//inches printf("\nPitch diameter = %.1f cm\nCircular pitch = %.4f in\n",dia,P)