Part 3 For the case in Part 2, where h-3 ft and b=20 ft, plot Q versus Y1 and Q versus Y2 for a range of Q values from 100 to 500 cfs. Based on this, describe the implications of changing the design flow. [104]: Q1 = [] b_1= 20 h_1-3 9_1= 32.17 q1Q_1/b_1 #ft**3/8 #ft #ft #ft/s**2 Dn_1 q12/(g_1*h_1**3) for q in Q1: Qarange (0,500,100) for y in Y_1: Y_10.54 h_1 Dn_1**0.425 #Y_1 0.54 h_1*Dn_1**0.425 #Y 2 1.66 h_1 Dn_1 0.27 plt.plot(Q_1,Y_1)

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section: Chapter Questions
Problem 4PP
Question

Can you help me fix my code in python or tell me what. I'm doing wrong please

Part 3
For the case in Part 2, where h = 3 ft and b = 20 ft, plot Q versus Y1 and Q versus Y2 for a range of Q values from 100 to 500
cfs. Based on this, describe the implications of changing the design flow.
In [104]: Q1 = []
b_120
h_13
9_1= 32.17
#ft**3/s
#ft
#ft
#ft/s**2
q_1=0_1/b_1
Dn_1= q 1+ 2/(g_1sh_1**3)
for q in Q_1:
Q1
for y in Y_1:
Y_1
arange (0,500,100)
0.54 h 1 Dn_1**0.425
#Y_1= 0.54*h_1*Dn_1**0.425
#Y_2 1.66 h_1*Dn_1**0.27
plt.plot(Q_1,Y_1)
Transcribed Image Text:Part 3 For the case in Part 2, where h = 3 ft and b = 20 ft, plot Q versus Y1 and Q versus Y2 for a range of Q values from 100 to 500 cfs. Based on this, describe the implications of changing the design flow. In [104]: Q1 = [] b_120 h_13 9_1= 32.17 #ft**3/s #ft #ft #ft/s**2 q_1=0_1/b_1 Dn_1= q 1+ 2/(g_1sh_1**3) for q in Q_1: Q1 for y in Y_1: Y_1 arange (0,500,100) 0.54 h 1 Dn_1**0.425 #Y_1= 0.54*h_1*Dn_1**0.425 #Y_2 1.66 h_1*Dn_1**0.27 plt.plot(Q_1,Y_1)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Analysis of Performance Measurement
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning