Problem: Engineers are designing a concrete channel which will bring water to th
ID: 3620670 • Letter: P
Question
Problem:Engineers are designing a concrete channel which will bring water to the city reservoir from a near-by lake. The channel will have vertical walls and it will be 15 feet wide. It will have a roughness coefficient of 0.014. The water flow rate in the channel depends on the width, the depth of the water, the roughness coefficient, and the slope of the channel. The relationship is given by Manning’s equation:
Q = (1.486 / N) * A * R 2/3 * s ½
R = depth * width/ (2 * depth + width)
Q is the flow rate in cubic feet per second.
R is called the hydraulic radius.
A is the area. i.e. depth * width
S is the slope in feet/foot.
N is the roughness coefficient
To help with the design of the channel engineers want us to produce a table which shows the flow rate for each combination of slope 0.0014, .0015, 0.0016, .0017, 0.0018, .0019, and 0.0020, and depths 6, 8, 10, and 12 feet.
Write a C++ 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.
Explanation / Answer
please rate - thanks hope this is good. I don't know the values to check itRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.