Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with this python problem! b) Write a program that uses FSOLVE() to solve for the volumetric flow rate (m/s) in each segment of

image text in transcribed Please help with this python problem!

b) Write a program that uses FSOLVE() to solve for the volumetric flow rate (m/s) in each segment of the pipe flow network given below. Use the following properties for water: density = 997 kg/m^3, viscosity = 0.000890573 kg/( ms). Your program should print the flow in each segment of pipe, nicely formatted, similar to: The flow in segment 1 is -128 L/s The flow in segment 2 is 43 L/s The flow in segment 3 is -96 L/s etc. (note that these are NOT the correct answers) Note: for each pipe segment, positive flow is defined as shown in the figure. In the correct solution, some flows might be negative. Hint: this problem can be solved exactly the same way as the Jake Flow problem presented in class. Pipe Length Diameter e/D m m 300 Ips 1 5 50 Ips 1 3 7 2 5 3 6 2 300 250 350 125 350 125 300 125 8 100 lps 10 6 7 0.30 0.25) 0.20 0.20 0.20 0.20 0.200 0.15 0.20 0.15 0.00087 0.00104 0.00130 0.00130 0.00130 0.00130 0.00130 0.00173 0.00130 0.00173 4 9 150 Ips 4 600 350 125 b) Write a program that uses FSOLVE() to solve for the volumetric flow rate (m/s) in each segment of the pipe flow network given below. Use the following properties for water: density = 997 kg/m^3, viscosity = 0.000890573 kg/( ms). Your program should print the flow in each segment of pipe, nicely formatted, similar to: The flow in segment 1 is -128 L/s The flow in segment 2 is 43 L/s The flow in segment 3 is -96 L/s etc. (note that these are NOT the correct answers) Note: for each pipe segment, positive flow is defined as shown in the figure. In the correct solution, some flows might be negative. Hint: this problem can be solved exactly the same way as the Jake Flow problem presented in class. Pipe Length Diameter e/D m m 300 Ips 1 5 50 Ips 1 3 7 2 5 3 6 2 300 250 350 125 350 125 300 125 8 100 lps 10 6 7 0.30 0.25) 0.20 0.20 0.20 0.20 0.200 0.15 0.20 0.15 0.00087 0.00104 0.00130 0.00130 0.00130 0.00130 0.00130 0.00173 0.00130 0.00173 4 9 150 Ips 4 600 350 125

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

Step: 3

blur-text-image

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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

=+6. What does the invisible hand of the marketplace do?

Answered: 1 week ago

Question

=+ 4. Why should policymakers think about incentives?

Answered: 1 week ago