Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

provide the answers with MATLAB code, thanks 2 Solving Nonlinear Algebraic Equation Friction for fluid flow in pipes is described by a dimensionless number, the

provide the answers with MATLAB code,

thanks

image text in transcribed

2 Solving Nonlinear Algebraic Equation Friction for fluid flow in pipes is described by a dimensionless number, the Fanning friction factor x. The Fanning friction factor is dependent on a number of parameters related to the size of the pipe and the fluid, which can all be represented by another dimensionless quantity, the Reynolds number R. A formula that predicts Fanning friction factor x for given Reynolds number R is x1=4log10(Rx)0.4 known as the von Karman equation. Typical values for the Reynolds number for turbulent flow are 10000 to 500000 and for the Fanning friction factor are 0.001 to 0.01 . (a) Use Bisection method to approximate the Fanning friction factor x in the interval [0.001,0.01] for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within an absolute accuracy of 1015. Plot the numerical results for Fanning friction factor obtained by Bisection method against the Reinolds numbers {Rk}k=150. (b) Use Newton-Raphson method with initial value p0=0.005 to approximate the Fanning friction factor for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within a relative precision of 1015. Plot the numerical results for Fanning friction factor obtained by Newton-Raphson method against the Reinolds numbers {Rk}k=150 (c) Use Secant method with initial values p0=0.005 and p1=0.01 to approximate the Fanning friction factor for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within a relative precision of 1015. Plot the numerical results for Fanning friction factor obtained by Secant method against the Reinolds numbers {Rk}k=150 (d) Compare the computational costs of three methods. 2 Solving Nonlinear Algebraic Equation Friction for fluid flow in pipes is described by a dimensionless number, the Fanning friction factor x. The Fanning friction factor is dependent on a number of parameters related to the size of the pipe and the fluid, which can all be represented by another dimensionless quantity, the Reynolds number R. A formula that predicts Fanning friction factor x for given Reynolds number R is x1=4log10(Rx)0.4 known as the von Karman equation. Typical values for the Reynolds number for turbulent flow are 10000 to 500000 and for the Fanning friction factor are 0.001 to 0.01 . (a) Use Bisection method to approximate the Fanning friction factor x in the interval [0.001,0.01] for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within an absolute accuracy of 1015. Plot the numerical results for Fanning friction factor obtained by Bisection method against the Reinolds numbers {Rk}k=150. (b) Use Newton-Raphson method with initial value p0=0.005 to approximate the Fanning friction factor for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within a relative precision of 1015. Plot the numerical results for Fanning friction factor obtained by Newton-Raphson method against the Reinolds numbers {Rk}k=150 (c) Use Secant method with initial values p0=0.005 and p1=0.01 to approximate the Fanning friction factor for each of the following values of Reynolds number R=Rk=10000k,k=1,2,,50. All approximations must be within a relative precision of 1015. Plot the numerical results for Fanning friction factor obtained by Secant method against the Reinolds numbers {Rk}k=150 (d) Compare the computational costs of three methods

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

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions