diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2132/CH3/EX3.19/Example3_19.sce | |
download | Scilab-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.19/Example3_19.sce')
-rwxr-xr-x | 2132/CH3/EX3.19/Example3_19.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2132/CH3/EX3.19/Example3_19.sce b/2132/CH3/EX3.19/Example3_19.sce new file mode 100755 index 000000000..b80995b24 --- /dev/null +++ b/2132/CH3/EX3.19/Example3_19.sce @@ -0,0 +1,17 @@ +//Example 3.19
+clc;
+clear;
+close;
+format('v',7);
+//Given data :
+b=3;//meter
+a=3;//meter
+S_oil=0.8;//specific gravity of oil
+w=9.81*S_oil;//kN/m^2
+xbar=1/3*b;//meter
+A=1/2*a*b;//m^2
+P=w*A*xbar;//kN
+disp(P,"Total Pressure in kN : ");
+IG=(a*b^3)/36;//in m^4
+h_bar=IG/A/xbar+xbar;//in meter
+disp(h_bar,"Centre of pressure in meter : ");
|