Question: Follow the instructions in P3.), using problem 5.16 for the formulas and values. Ignore parts a.), b.), and c.) in 5.16 and just follow the
P3) Obtain the solution to problem 5.16 on page 143 by using the in-built MATLAB function f zero ( ) with = 0.5 . Use the correct TolX to ensure that we achieve , = 1% Submit screenshot of results in command window. 5.16 Water is flowing in a trapezoidal channel at a rate of Q-20 m3/s. The critical depth y for such a channel must satisfy the equation Page 143 Q2 where g-9.81 m/s2, Ae-the cross-sectional area (m2), 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 Solve for the critical depth using (a) the graphical method, (b) bisection, and (e) false position. For (b) and (c) use initial guesses oF4 0.5 and , 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
