For fluid flow in pipes, friction is described by a dimensionless number, the Fanning friction factor...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 = 4 log(REF-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 bisection to solve for f given a user-supplied value of Re between 2500 and 1,000,000. Design the function so that it ensures that the absolute error in the result is smaller than 0.000005. 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 = 4 log(REF-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 bisection to solve for f given a user-supplied value of Re between 2500 and 1,000,000. Design the function so that it ensures that the absolute error in the result is smaller than 0.000005. 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 = 4 log(REF-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 bisection to solve for f given a user-supplied value of Re between 2500 and 1,000,000. Design the function so that it ensures that the absolute error in the result is smaller than 0.000005. 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 = 4 log(REF-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 bisection to solve for f given a user-supplied value of Re between 2500 and 1,000,000. Design the function so that it ensures that the absolute error in the result is smaller than 0.000005.
Expert Answer:
Related Book For
Numerical Methods for Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Posted Date:
Students also viewed these mechanical engineering questions
-
For fluid flow in pipes, friction is described by a dimensionless number, the Fanning friction factor . The Fanning friction factor is dependent on a number of parameter related to the size of the...
-
A buffalo (Figure 29) stampede is described by a velocity vector field F =xy y3, x2 + y km/h in the region D defined by 2 ¤ x ¤ 3, 2 ¤ y ¤ 3 in units of kilometers (Figure...
-
A system is described by a single-input state equation with Using the method of Section 11.7 (Equation 11.40) and a negative unity feedback, determine the optimal system when xT(0) = [1 0]. 0 0 1 and...
-
Each table of values gives several points that lie on a line.(a) What is the x-intercept of the line? The y-intercept?(b) Which equation in choices AD corresponds to the given table of values?(c)...
-
One of the variables most often included in surveys is income. Sometimes the question is phrased "What is your income (in thousands of dollars)?" In other surveys, the respondent is asked to "Select...
-
Determine the sums of the following geometric series when they are convergent. 1 1 + 1 1 3 33 34 35 | T + 1 36
-
Supercritical, uniform flow of water occurs in a 5.0-m-wide, rectangular, horizontal channel. The flow has a depth of \(1.5 \mathrm{~m}\) and a flow rate of \(45.0 \mathrm{~m}^{3} / \mathrm{s}\). The...
-
A 10.0-ft3 compressed-air tank is being filled. Before the filling begins, the tank is open to the atmosphere. The reading on a Bourdon gauge mounted on the tank increases linearly from an initial...
-
In the figure, a uniform, upward electric field of magnitude 2.00x 103 N/C has been set up between two horizontal plates by charging the lower plate positively and the upper plate negatively. The...
-
Cynthia Cooper is the accounting manager for a manufacturing company. One of her responsibilities at year-end is to determine how to account for the company's contingencies. She has proposed a...
-
The Caribbean Company sells exclusive and fine Christmas ornaments in boxes of 6 items. During 20X5, the company sold 10,000 boxes of ornaments, which resulted in Sales Revenue of $200,000. It had...
-
The electrostatic work done on a particle carrying charge \(q\) as the particle travels from point \(A\) to point \(B\) in an electric field is \(W\). How much electrostatic work is done on a...
-
Suppose you want to determine the amount of charge on a spherical shell. You start out by surrounding the shell with a cylindrical Gaussian surface. Is it possible to use the flux everywhere on the...
-
A very long, solid, positively charged cylinder has a radius \(R\) and is made of a nonconducting material. The nonuniform volume charge density is given by \(ho=+a r\), where \(r\) is the radial...
-
An isolated system consists of one object carrying charge \(+q\) and one object carrying charge \(-q\). Are all the electric field lines for the system contained inside some boundary?
-
The electrostatic potential in some region of space is given by \(V(x)=A+B x\), where \(V\) is in volts, \(x\) is in meters, and \(A\) and \(B\) are positive constants. Determine the magnitude of the...
-
Calculating Tubing Performance Curve and Na- tural Flow Point for a Gas Well. For the following data, develop a tubing performance curve using Eq. 4.39. In addition, plot the tubing performance curve...
-
Explain the circumstances that could result in a long-term bank loan being shown in a statement of financial position as a current liability.
-
Write a MATLAB program tointegrate /2 cos(cos.x) dr
-
Repeat Example 30.1, but use the midpoint method to generate your solution.
-
Use Romberg integration to evaluate to an accuracy of s = 0.5%. Your results should be presented in the form of Figure. Use the analytical solution of the integral to determine the percent relative...
-
The director of marketing of your organization asks for your advice regarding sponsorship deals she is contemplating. She has to choose from the following: a 15-year sponsorship paying \($100,000\)...
-
A bank offers customers the option of receiving interest compounded quarterly, semi-annually, or annually. If the rate of interest is the same, which is the best option for the customer?
-
An athlete signs a five-year endorsement deal with a prominent sponsor. Under this deal the athlete will receive \($5,000\) each year for the first three years and \($6,500\) each year for the final...
Study smarter with the SolutionInn App