Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

**in Matlab. please show comments on lines of code VUUTUU 516 Water is flowing in a trapezoidal channel at a rate of () = 20

image text in transcribed

**in Matlab. please show comments on lines of code

VUUTUU 516 Water is flowing in a trapezoidal channel at a rate of () = 20 m/s. The critical depth y for such a channel must satisfy the equation 0 = 1 - 702 8A 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 to depth y by B = 3 + y and Ag = 3y + 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 x, = 2.5, and iterate until the approximate error falls below 1% or the number of iterations exceeds 10. Discuss your results. 5 17 You are designing ahami

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started