blob: 54b1aebd6981984e8edf25b2cd7d4c2cf43f2501 (
plain)
1
2
3
4
5
6
7
8
|
printf("\t example 7.1 \n");
PT=1; // square pitch,in
do=0.75; // outer diameter,in
de=((4*(PT^2-(3.14*do^2/4)))/(3.14*do));
printf("\t equivalent diameter is : %.2f in \n",de);
De=(de/12); // ft
printf("\t De is : %.3f in \n",De);
//end
|