summaryrefslogtreecommitdiff
path: root/2021/CH3/EX3.7/EX3_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2021/CH3/EX3.7/EX3_7.sce')
-rwxr-xr-x2021/CH3/EX3.7/EX3_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2021/CH3/EX3.7/EX3_7.sce b/2021/CH3/EX3.7/EX3_7.sce
new file mode 100755
index 000000000..f6ddaa16c
--- /dev/null
+++ b/2021/CH3/EX3.7/EX3_7.sce
@@ -0,0 +1,16 @@
+//Finding of Total Pressure
+//Given
+BC=2;
+d=2;
+y1=2.5;
+rho=1000;
+g=9.81;
+//To Find
+Ig=(1*BC^3)/2;
+Ay=((1*BC^3)/2)*y1;
+Px=Ay*rho*g/2;
+Ycp=(Ig/Ay)+y1;
+Py=((2*1.5)*(%pi/4)*d^2)*rho*g;
+disp("Px= "+string(Px)+" Newtons");
+disp("Ycp ="+string(Ycp)+" meter");
+disp("Py= "+string(Py)+" Newtons");