Question
A concrete channel to bring water to Crystal Lake is being designed. It will have vertical walls 15 feet wide. It will be 10 feet
A concrete channel to bring water to Crystal Lake is being designed. It will have vertical walls 15 feet wide. It will be 10 feet deep, have a slope of 0.0015 feet/foot, and have a roughness coefficient of 0.014. How deep will the water be when 1000 cubic feet per second is flowing through the channel? To solve this problem, we can use Mannings equation. Q = (1.486 / N) * A * R 2/3 * s
where Q is the flow of water (cubic feet per second), N is the roughness coefficient (unitless), A is the cross-sectional area of the water (square feet), S is the slope (feet/foot), and R is the hydraulic radius (feet). The hydraulic radius is the cross-sectional area divided by the wetted perimeter. R = depth * width/ (2 * depth + width).
Write a MATLAB program that produces this table. Use nested for loops to provide the slope and depth values. For example, the index variable on the outer loop can be a double variable with initial value 0.0014. Input the width and roughness coefficient.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started