blob: e639b50f2e8280ca6b85dfcc38371050c85c14e4 (
plain)
1
2
3
4
5
6
7
8
|
//To find pitch diameter and the circular pitch
clc
//given
T=48//teeth
pd=4//diametral pitch
D=T/pd//pitch diameter
p=%pi/pd//the circular pitch
printf("\nThe pitch diameter = %.f in\nThe circular pitch = %.4f in\n",D,p)
|