summaryrefslogtreecommitdiff
path: root/3594/CH10/EX10.3/Ex10_3.sce
blob: 8bdc1c566f001fd2abbc81b9bed27e28c7a3d13b (plain)
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)