Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Manning's equation can be used to compute the velocity of water in a rectangular open channel: 2/3 VS U = BH B + 2H

image text in transcribed

1) Manning's equation can be used to compute the velocity of water in a rectangular open channel: 2/3 VS U = BH B + 2H = = = n where U = velocity (m/s), S = channel slope, n = roughness coefficient, B = width (m), and H = depth (m). The following data is available for five channels. S B H 0.0350 0.0001 10.0000 2.0000 0.0200 0.0002 8.0000 1.0000 0.0150 0.0010 20.0000 1.5000 0.0300 0.0007 24.0000 3.0000 0.0220 0.0003 15.0000 2.5000 Write a MATLAB script, Manning.m, which defines 4 vectors to represent this data and then computes and displays the vector of velocities using the formula above and array arithmetic. Rather than typing in these values you can copy and paste the data into a matrix as: A [0.0350 0.0001 10.0000 2.0000 0.0200 0.0002 8.0000 1.0000 0.0150 0.0010 20.0000 1.5000 0.0300 0.0007 24.0000 3.0000 0.0220 0.0003 15.0000 2.5000] then define the appropriate variables as columns of the matrix. a =

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

Students also viewed these Databases questions

Question

What is the purpose of budgeting?

Answered: 1 week ago

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

When should the last word in a title be capitalized?

Answered: 1 week ago

Question

a. What happens to the labor demand curve? LOP8

Answered: 1 week ago