For all the following problems, a) You need to show at least 3 iterations calculated manually with all steps. b) You do not need to include the M.files for the bisection method (bisect.m) and for false position (falspos.m). You must, however, show the command lines for the given functions with their variables and other parameters. 5. Fanning friction factor For 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: 1 √f = = 4log10 (Re√√) - 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. (a) Develop a function that uses bisection to solve for f given a user-supplied value of Re between 500 and 1,000,000. (b) Design the function so that it ensures that the absolute error in the result is &a,d <0.000005.

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question
100%
For all the following problems,
5.
a)
b)
You need to show at least 3 iterations calculated manually with all steps.
You do not need to include the M.files for the bisection method (bisect.m) and for false position (falspos.m). You
must, however, show the command lines for the given functions with their variables and other parameters.
Fanning friction factor
For 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 ƒ given Re is the von Karman equation:
4log₁0 (Re√) - 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.
(a) Develop a function that uses bisection to solve for fgiven a user-supplied value of Re between
500 and 1,000,000.
(b) Design the function so that it ensures that the absolute error in the result is &a,d<0.000005.
Transcribed Image Text:For all the following problems, 5. a) b) You need to show at least 3 iterations calculated manually with all steps. You do not need to include the M.files for the bisection method (bisect.m) and for false position (falspos.m). You must, however, show the command lines for the given functions with their variables and other parameters. Fanning friction factor For 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 ƒ given Re is the von Karman equation: 4log₁0 (Re√) - 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. (a) Develop a function that uses bisection to solve for fgiven a user-supplied value of Re between 500 and 1,000,000. (b) Design the function so that it ensures that the absolute error in the result is &a,d<0.000005.
Expert Solution
steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Knowledge Booster
Dimensional Analysis
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY