summaryrefslogtreecommitdiff
path: root/2921/CH11/EX11.3/Ex11_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2921/CH11/EX11.3/Ex11_3.sce')
-rwxr-xr-x2921/CH11/EX11.3/Ex11_3.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/2921/CH11/EX11.3/Ex11_3.sce b/2921/CH11/EX11.3/Ex11_3.sce
new file mode 100755
index 000000000..f5d15d0a1
--- /dev/null
+++ b/2921/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,26 @@
+clc;
+clear;
+mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-11.3 Page No.231\n');
+
+Np=16;
+Ng=32;
+Pd=8;
+
+//Pitch diameter
+Dp=Np/Pd;
+
+mprintf('\n Pinion pitch diameter is %f in.',Dp);
+
+Dg=Ng/Pd;
+
+mprintf('\n Gear pitch diameter is %f in.',Dg);
+
+//Circular pitch
+Pc=%pi*Dp/Np;
+
+mprintf('\n Circular pitch is %f in.',Pc);
+
+//Centerline distance
+CC=(Dp+Dg)/2;
+
+mprintf('\n Centerline distance is %f in.',CC);