summaryrefslogtreecommitdiff
path: root/1268/CH9/EX9.1
diff options
context:
space:
mode:
Diffstat (limited to '1268/CH9/EX9.1')
-rw-r--r--1268/CH9/EX9.1/9_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1268/CH9/EX9.1/9_1.sce b/1268/CH9/EX9.1/9_1.sce
new file mode 100644
index 000000000..31a3a62db
--- /dev/null
+++ b/1268/CH9/EX9.1/9_1.sce
@@ -0,0 +1,10 @@
+clc;
+disp("Example 9.1")
+density=1000 // in kg/m^3
+densitys=900 // in kg/m^3
+delh=0.025
+g=9.81
+delP=delh*g*(density-densitys)
+vmax=0.98*((2*delP/densitys)^0.5)
+vavg=0.85*vmax
+disp(vavg,"Average velocity is ")