Question: Determine the friction factor, f using the bisection method and the Newton - Raphson method. For turbulent flow, the Colebrook equation can be used to

Determine the friction factor, f using the bisection method and the Newton-Raphson method.
For turbulent flow, the Colebrook equation can be used to approximate the friction factor.
0=1f2+2.0log(3.7D+2.51Ref2)
where = the roughness (m),D=diameter(m) and Re= the Reynolds number
Re=VD
where = the fluid' density (kgm3),V= the velocity of fluid (ms), and = dynamic viscosity sm2.
Use =1.23kgm3,V=40ms,=1.7910-5Nsm2,D=0.005m,=0.0015.
For the bisection method, (1) use the friction factor range from 0.008 and 0.08, and for the Newton-Raphson method, (2) use the lower limit as an initial guess and (3) use the upper limit as an initial guess.
Discuss each case in terms of number of iterations, percentage relative error, and the determined value. If the Newton-Raphson method does not converge, inspect why it does not converge.
Submit a zip file that includes a main python file, function file(s)(you can create one function file that has the bisection and Newton Raphson or two function files for each method), and a pdf file for the discussion.
 Determine the friction factor, f using the bisection method and the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!