summaryrefslogtreecommitdiff
path: root/965/CH7/EX7.3/3.sci
diff options
context:
space:
mode:
Diffstat (limited to '965/CH7/EX7.3/3.sci')
-rw-r--r--965/CH7/EX7.3/3.sci19
1 files changed, 19 insertions, 0 deletions
diff --git a/965/CH7/EX7.3/3.sci b/965/CH7/EX7.3/3.sci
new file mode 100644
index 000000000..e5d1ff7ff
--- /dev/null
+++ b/965/CH7/EX7.3/3.sci
@@ -0,0 +1,19 @@
+clc;
+clear all;
+disp("velocity distribution")
+disp("velocity distribution : u =a+b*y+c*y^2")
+disp("the following boundary conditions must be satisfied:")
+disp("at y = 0, u= 0")
+disp("0 =a+0+0")
+disp("hence a =0")
+disp("at y =d, du/dy = 0")
+disp("b+2*c*d =0")
+disp("b=-2*c*d")
+disp(" at y = d, u = U")
+disp("U=b*d+c*d^2")
+disp("U = -2*c*d*d+c*d*d")
+disp("c =-U/d^2")
+disp("b = 2*U/d")
+disp("u =2*U/d*y-U*y^2/d^2")
+disp("u/U = 2(y/d)-(y/d)^2")
+