summaryrefslogtreecommitdiff
path: root/1364/CH2/EX2.3.5/2_3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1364/CH2/EX2.3.5/2_3_5.sce')
-rwxr-xr-x1364/CH2/EX2.3.5/2_3_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1364/CH2/EX2.3.5/2_3_5.sce b/1364/CH2/EX2.3.5/2_3_5.sce
new file mode 100755
index 000000000..20641cd63
--- /dev/null
+++ b/1364/CH2/EX2.3.5/2_3_5.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+F= 100 //tonf
+p= 2000 //lbf/in^2
+x= 12 //in
+x1= 48 //in
+p1= 40 //lbf/in^2
+//CALCULATIONS
+A3= (F/p)*2240
+A2= A3*x/x1
+A1= A2*p/p1
+//RESULTS
+printf (' Piston area= %.f in^2',A2)
+printf (' \n ram area= %.f in^2',A1)