Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the MATLAB roots function to find all the roots of the following polynomialFor fluid flow in pipes, friction is described by a dimensionless number,

Use the MATLAB roots function to find all the roots of the following polynomialFor fluid flow in pipes, friction is described by a dimensionless number, the Fanning
friction factor f. 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 Re. A formula that predicts f given Re is
the von Karman equation:
f-0.5=4log10(Ref0.5)-0.4
Typical values for the Reynolds number for turbulent flow are 10,000 to 500,000 and for
the Fanning friction factor are 0.001 to 0.01. Develop a function that uses the fzero
function to compute f given a user-supplied value of Re between 2500 and 250,000.
Report values f for 5 values of Re.
functions:
(a)f(x)=0.007x4-0.284x3+3.355x2-12.183x+5
(b)f(x)=x5-16.05x4+88.75x3-192.0375x2+116.35x+31.6875
image text in transcribed

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

Students also viewed these Chemical Engineering questions