summaryrefslogtreecommitdiff
path: root/2132/CH3/EX3.16
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2132/CH3/EX3.16
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2132/CH3/EX3.16')
-rwxr-xr-x2132/CH3/EX3.16/Example3_16.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2132/CH3/EX3.16/Example3_16.sce b/2132/CH3/EX3.16/Example3_16.sce
new file mode 100755
index 000000000..7c0600849
--- /dev/null
+++ b/2132/CH3/EX3.16/Example3_16.sce
@@ -0,0 +1,17 @@
+//Example 3.16
+clc;
+clear;
+close;
+format('v',7);
+//Given data :
+b=2;//meter
+d=3;//meter
+h=2;//meter
+w=9.81;//kN/m^2
+xbar=2+3/2;//meter
+A=b*d;//m^2
+P=w*A*xbar;//kN
+disp(P,"Total Pressure in kN : ");
+IG=(b*d^3)/12;//in m^4
+h_bar=IG/A/xbar+xbar;//in meter
+disp(h_bar,"Position of centre of pressure in meter : ");