2.15 Manning's equation can be used to compute the velocity of water in a rectangular open channel: U=VS(BH) ВН B₁+ 2H n n where U = velocity (m/s), S = channel slope, n = roughness coeffi- cient, B = channel width (m), and H = water depth (m). The follow- ing data are available for five channels: 0.035 0.020 0.015 0.030 0.022 2/3 matrix S 0.0001 0.0002 0.0010 0.0007 0.0003 B 682450 10 15 H 2.0 1.0 1.5 3.0 2.5 Create Python statements to store these values in a matrix P where each row represents one of the channels and each column represents one of the parameters. Add one or more statements to compute the velocities in a column vector U based on the values in the parameter

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

use spyder python if possible 

answer using variables given in black photo 

# Write down matrix P
P =
# Write down vector U as an expression of parameters from P
U =
Transcribed Image Text:# Write down matrix P P = # Write down vector U as an expression of parameters from P U =
(
2.15 Manning's equation can be used to compute the velocity of
water in a rectangular open channel:
U =
n
√S
0.035
0.020
0.015
0.030
0.022
BH
n B + 2H
where U = velocity (m/s), S = channel slope, n = roughness coeffi-
cient, B = channel width (m), and H= water depth (m). The follow-
ing data are available for five channels:
2/3
S
0.0001
0.0002
0.0010
0.0007
0.0003
B
10
8
20
24
15
H
2.0
1.0
1.5
3.0
2.5
Create Python statements to store these values in a matrix P where
each row represents one of the channels and each column represents
one of the parameters. Add one or more statements to compute the
velocities in a column vector U based on the values in the parameter
matrix. Display the resulting vector.
Transcribed Image Text:( 2.15 Manning's equation can be used to compute the velocity of water in a rectangular open channel: U = n √S 0.035 0.020 0.015 0.030 0.022 BH n B + 2H where U = velocity (m/s), S = channel slope, n = roughness coeffi- cient, B = channel width (m), and H= water depth (m). The follow- ing data are available for five channels: 2/3 S 0.0001 0.0002 0.0010 0.0007 0.0003 B 10 8 20 24 15 H 2.0 1.0 1.5 3.0 2.5 Create Python statements to store these values in a matrix P where each row represents one of the channels and each column represents one of the parameters. Add one or more statements to compute the velocities in a column vector U based on the values in the parameter matrix. Display the resulting vector.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY