Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve the task through python Exercise 1: = A peristaltic pump delivers a unit flow (Q1=1) of a highly viscous fluid. The network is depicted

Solve the task through pythonimage text in transcribed

Exercise 1: = A peristaltic pump delivers a unit flow (Q1=1) of a highly viscous fluid. The network is depicted in Figure 1. Every pipe section has the same length and diameter. The mass and mechanical energy balance can be simplified to obtain the flows in every pipe. Solve the following system of equations to obtain the flow in every pipe (Q2, Q7). Q3 +224 -2Q2 = 0 Q = Q2 + Q3 Q5 +226 - 294 = 0 Q3 = Q4 + Q5 307-226= 0 Qs = Q6 + 1 Q 03 Q5 Q2 Q4 06 27 Figure 1. Illustration of flow network. 1. Develop the program using the Gauss elimination method with scaled partial pivoting to calculate flow rates. (see textbook, p.268 or lecture notes, slide 29). 2. Print out the matrix of coeficients and right-hand-side vector for each elimination and pivoting steps. 3. Check your programs with the solution obtained using solve function from numpy library. You can call this function using following commands: import numpy as np Windows print("Solution using numpy: x = %s' % np.linalg.solve(A,b)) aktuenposatb Windows, ra where A is the matrix of coefficients and B is the right-hand-side vector

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

Principles Of Chemical Separations With Environmental Applications

Authors: Richard D. Noble, Patricia A. Terry

1st Edition

052181152X, 978-0521811521

More Books

Students also viewed these Chemical Engineering questions