Question: python question The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p

python question
The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p = f L/D rho v^2/2 where the friction factor f is a measure of the resistance to flow, which depends on the fluid viscosity mu. The friction factor can be approximated by the equation f = [1/2 log_10 (2.51 mu/rho Dv squareroot f)]^2 about which one fluid mechanics textbook writes: A difficulty with its use is that it is implicit in the dependence of f. That is for given conditions, it is not possible to solve for f without some sort of iterative scheme. With the use of modern computers and calculators, such calculations are not difficult. Write a while loop which continually recalculates f from a 0.01 starting value. The loop should continue until subsequent recalculations for f do not change significantly. Use this code to plot the pressure drop for speeds ranging between 50 and 100 m/s using the values in Table 1. Be certain to appropriately label the axes with correct units. Constants for calculating pressure drop for liquid water flowing through a pipe. The pressure drop for fluid of density rho flowing with speed v through a diameter D pipe of length L is delta p = f L/D rho v^2/2 where the friction factor f is a measure of the resistance to flow, which depends on the fluid viscosity mu. The friction factor can be approximated by the equation f = [1/2 log_10 (2.51 mu/rho Dv squareroot f)]^2 about which one fluid mechanics textbook writes: A difficulty with its use is that it is implicit in the dependence of f. That is for given conditions, it is not possible to solve for f without some sort of iterative scheme. With the use of modern computers and calculators, such calculations are not difficult. Write a while loop which continually recalculates f from a 0.01 starting value. The loop should continue until subsequent recalculations for f do not change significantly. Use this code to plot the pressure drop for speeds ranging between 50 and 100 m/s using the values in Table 1. Be certain to appropriately label the axes with correct units. Constants for calculating pressure drop for liquid water flowing through a pipe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
