Question: PLEASE ONLY DO PART C. PLEASE PLEASE ONLY SHOW ME THE CODE THAT I WILL NEED TO RUN ON MATLAB. PLEASE ONLY THE CODE. I


PLEASE ONLY DO PART C. PLEASE PLEASE ONLY SHOW ME THE CODE THAT I WILL NEED TO RUN ON MATLAB. PLEASE ONLY THE CODE. I WILL REALLY APPRECIATE IT. THANK YOU!
5.12 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 %3D 0=1- 3. gA wher 100 lb/ft 100 lb cons senti vati rela 3' wh of FIGURE P5.11 where g = 9.81 m/s, A = 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 %3D to depth y by B = 3 +y and y? A, = 3y +5 Solve for the critical depth using (a) the graphical method, (b) bisection, and (c) false position. For (b) and (c) use initial guesses of x, = 0.5 and x, = 2.5, and iterate until the Pproximate error falls below 1% or the number of iterations exceeds 10. Discuss your results. %3D tha kinetics of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
