Question: Matlab question. Please help me. Please answer carefully to the whole question. Manning's equation can be used to compute the velocity of water in a


Matlab question. Please help me. Please answer carefully to the whole question.
Manning's equation can be used to compute the velocity of water in a rectangular open channel where U velocity (m/s), S- channel slope, n - roughness coefficient, Bwidth (m), and H - depth (m). The following data are available for five channels: S B H 2 0.035 0.0001 10 0.020 0.0002 8 1 0.015 0.0010 20 1.5 0.030 0.0007 24 3 0.022 0.0003 15 2.5 Write a script named Hw1_4 lastnamefirstinitial.m that encodes these values and then uses a single line of code to compute a column vector containing the velocities for the five channels. Include a screenshot of your neatly formatted code in your PDF file that you submit to Gradescope, and also upload your m-file to the Homework 1 dropbox in the Assignments area on Canvas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
