Question: 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
 Use the MATLAB roots function to find all the roots of

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 Chemical Engineering Questions!