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 /2021/CH3/EX3.5/EX3_5.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 '2021/CH3/EX3.5/EX3_5.sce')
-rwxr-xr-x | 2021/CH3/EX3.5/EX3_5.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2021/CH3/EX3.5/EX3_5.sce b/2021/CH3/EX3.5/EX3_5.sce new file mode 100755 index 000000000..cdbd61484 --- /dev/null +++ b/2021/CH3/EX3.5/EX3_5.sce @@ -0,0 +1,19 @@ +//Finding of Total Pressure , Depth of pressure
+//Given
+T=4;
+rho=1000;
+g=9.81;
+l=2;
+b=1/2;
+y1=2;
+y2=1/3;
+//To Find
+A=(6/2)*1;
+A1=(l*b);
+A2=l*5;
+y3=((A1*y1)+(2*A2*y2))/(A1+2*A2);
+P=rho*g*A*y3;disp(y3);
+Ig=(l^2+(4*l*T)+T^2)/(36*(l+T));
+Ycp=(Ig/(A*y3))+y3;
+disp("P= "+string(P)+" Newtons");
+disp("Ycp ="+string(Ycp)+" meter");
|