summaryrefslogtreecommitdiff
path: root/2921/CH2/EX2.3
diff options
context:
space:
mode:
Diffstat (limited to '2921/CH2/EX2.3')
-rwxr-xr-x2921/CH2/EX2.3/Ex2_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2921/CH2/EX2.3/Ex2_3.sce b/2921/CH2/EX2.3/Ex2_3.sce
new file mode 100755
index 000000000..9fd946f0a
--- /dev/null
+++ b/2921/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,13 @@
+clc;
+clear;
+mprintf('MACHINE DESIGN \n Timothy H. Wentzell, P.E. \n EXAMPLE-2.3 Page 29 ') //Example 2.3
+
+T=300*12; //[in*lb] Engine torque
+d=8; //[in] Crankshaft effective diameter
+
+F=T/(d/2); //[lb] Force exerted by piston
+
+A=%pi*(2^2)/4; //[in^2] Area of cross section of piston
+P=F/A; //[lb/in^2] Pressure in cylinder
+
+mprintf('\n\n Pressure inside cylinder %f lb/in^2',P);