Question: hi! i need help with this! matlab code only that i can learn how to code this problem again (matlab code) 5.16 Water is flowing
5.16 Water is flowing in a trapezoidal channel at a rate of Q = 20 m/s. The critical depth y for such a channel must satisfy the equation 0 = 1 - B 843" where g = 9.81 m/s?, Ac = the cross-sectional area (m), and B = the width of the channel at the surface (m). For this case, the width and the cross-sectional area can be related to depth y by B = 3 + y and A. = 3y + 2 Solve for the critical depth using (a) the graphical method, (b) bisec- tion, and (c) false position. For (b) and (c) use initial guesses of x1 = 0.5 and xy = 2.5, and iterate until the approximate error falls below 1% or the number of iterations exceeds 10. Discuss your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
