Question: Please do this in Matlab! Thank you The average flow in a river channel, 0(m/s), with an irregular cross-section can be computed as the integral
Please do this in Matlab! Thank you

The average flow in a river channel, 0(m/s), with an irregular cross-section can be computed as the integral of the product of velocity and depth Q=1"U(y)H(y)dy where U(y) = water velocity (m/s) at distance y (m) from the bank, and H(y) = water depth (m/s) at distance y from the bank. Use integral along with spline fits of U and H to the following data collected at different distances across the channel to estimate the flow. H(m) Y(m) 0 Y(m) 0 U (m/s) 0 1.1 1.6 0 0.21 0.78 1.87 2.8 4.6 6 4.1 4.8 0.08 0.61 0.68 0.55 0.42 0 1.44 6.1 8.1 1.28 6.8 9 0.2 9 The average flow in a river channel, 0(m/s), with an irregular cross-section can be computed as the integral of the product of velocity and depth Q=1"U(y)H(y)dy where U(y) = water velocity (m/s) at distance y (m) from the bank, and H(y) = water depth (m/s) at distance y from the bank. Use integral along with spline fits of U and H to the following data collected at different distances across the channel to estimate the flow. H(m) Y(m) 0 Y(m) 0 U (m/s) 0 1.1 1.6 0 0.21 0.78 1.87 2.8 4.6 6 4.1 4.8 0.08 0.61 0.68 0.55 0.42 0 1.44 6.1 8.1 1.28 6.8 9 0.2 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
