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