Consider a pressure-driven (Poiseulle) flow of a Newtonian fluid between two par
ID: 3885694 • Letter: C
Question
Consider a pressure-driven (Poiseulle) flow of a Newtonian fluid between two parallel and stationary plates separated by a distance h = 1. Assuming the velocity distribution u(y) as a function of distance y measured from the bottom plate is given by u(y) = 5(y - y^2). Find the location y at which u(y) is maximum and the corresponding maximum velocity. Do it by creating a vector y with elements ranging from 0 to 1 and spacing 0.01. Then calculate u(y) for each value of y and find the maximum u(y) and associated y with MATLAB's built-in function 'max'.Explanation / Answer
y = [0:0.01:1]
for i=1:100
u(i) = 5.*(y(i) - y(i).*y(i))
end
..max Value of u is
y = 1.2500
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.