summaryrefslogtreecommitdiff
path: root/1466/CH1/EX1.9/1_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1466/CH1/EX1.9/1_9.sce')
-rwxr-xr-x1466/CH1/EX1.9/1_9.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1466/CH1/EX1.9/1_9.sce b/1466/CH1/EX1.9/1_9.sce
new file mode 100755
index 000000000..1aebcbbe6
--- /dev/null
+++ b/1466/CH1/EX1.9/1_9.sce
@@ -0,0 +1,17 @@
+
+
+clc
+//initialisation of variables
+clear
+d= 6//ft
+x= 4 //ft
+w= 62.4 //lbf/in^2
+//CALCULATIONS
+Ig= %pi*d^4/64
+A= %pi*d^2/4
+Io= Ig+A*x^2
+h= Io/(A*x)
+P= w*A*x
+//RESULTS
+printf ('Depth of centre of pressure = %.2f ft',h)
+printf (' \n Total pressure on plate = %.f Lb',P-7)