summaryrefslogtreecommitdiff
path: root/1325/CH10/EX10.1/10_1.sce
blob: 2afff4e9d27638969327ae18f8dba8378b3c423b (plain)
1
2
3
4
5
6
7
//To find pitch diameter
clc
//given
Teeth=48
pitch=.75 //in
D=Teeth*pitch/%pi
printf("The pitch diameter is %.3f in",D)