summaryrefslogtreecommitdiff
path: root/1325/CH10/EX10.3/10_3.sce
blob: a82ca058e9cd89c4a3452d81e00b2f231ae63a8e (plain)
1
2
3
4
5
6
7
8
9
10
//Find pitch diameter and pitch module
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)