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.23 | |
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.23')
-rwxr-xr-x | 2132/CH3/EX3.23/Example3_23.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2132/CH3/EX3.23/Example3_23.sce b/2132/CH3/EX3.23/Example3_23.sce new file mode 100755 index 000000000..813d08ca2 --- /dev/null +++ b/2132/CH3/EX3.23/Example3_23.sce @@ -0,0 +1,16 @@ +//Example 3.23
+clc;
+clear;
+close;
+format('v',7);
+//Given data :
+ABbar=sqrt(2)*4;//meter
+xbar=ABbar/2;//meter
+A=ABbar*1;//m^2
+w=9.81;//kN/m^2
+PH=w*A*xbar;//kN
+disp(PH,"Horizontal component of resultant Pressure in kN : ");
+hbar=2/3*ABbar;//meter
+disp("Position of horizontal component of pressure is "+string(hbar)+" meter below free water surface.");
+PV=w*[%pi*4^2/4-4*4/2]*1;//kN
+disp(PV,"Verticalal component of resultant Pressure in kN : ");
|