Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The friction factor for incompressible flow through a stomach pipe is given belo

ID: 1720269 • Letter: T

Question

The friction factor for incompressible flow through a stomach pipe is given below..The friction factor is used to calculate the pressure drop in a pipe. You are a given find flow Reynolds number data from the local water utility company. You are asked to determine the friction factor of each data point and how many data points are either in laminar, transition, or turbulent field. Reynolds Number Flow data Task: Write a script file that loops through the fluid flow Reynolds number data and calculates the friction factor, f, for the Reynolds number (Re) given using conditional statements (if,else if). Using formulated text,say how many times the data was in the laminar, transition, or turbulent phase.

Explanation / Answer

for loop can be written as

for a=1:10

Re=input('enter Re value')

f_laminar=14/Re;

f_transistion=0.0891/Re0.21

f_turbalent=0.006;

fprint(' %d ,%d,%d,f_laminar,f_transistion,f_turbalent);

end

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote