Question: write a matlab script to solve the following problem.KEEP IN MIND THAT YOU HAVE TO FOLLOW PROCEDURE (dracy friction should be calculated usin an iteration

write a matlab script to solve the following problem.KEEP IN MIND THAT YOU HAVE TO FOLLOW PROCEDURE (dracy friction should be calculated usin an iteration method such as fixed point iteration,newton or secant method etc)

Water is to be delivered to an irrigation system from a source situated at 70 feet away. If a cast iron pipe with diameter D = 2 inches is used for the purpose, calculate and plot the pressure drop in the system for the following flow rates: Q = 1 - 40 gallons per minutes.

The pressure drop is calculate d by:

write a matlab script to solve the following problem.KEEP IN MIND THAT

where the density of water is .

YOU HAVE TO FOLLOW PROCEDURE (dracy friction should be calculated usin an

Water kinematic viscosity is .

iteration method such as fixed point iteration,newton or secant method etc) Water

The pipe roughness is .

is to be delivered to an irrigation system from a source situated

The velocity is given by:

at 70 feet away. If a cast iron pipe with diameter D

The Reynolds number is calculated by:

= 2 inches is used for the purpose, calculate and plot the

Darcy friction factor is calculated by the following implicit formula:

pressure drop in the system for the following flow rates: Q =

Procedures:

Identify all constants.

Set up a loop to cover all flow rates

Calculate the required explicit variables such as velocity, Reynolds number, etc.

Calculate Darcy friction factor using an iterative method ,SUCH AS FIXED POINT ITERATION METHOD,NEWTON,SECANT

Calculate the pressure drop and store the results in a vector.

Plot the results of the pressure drop [feet of water] as function of flow rate in [gallon per minute]

Remarks:

Convert all lengths to feet

Convert gallon per minute into foot cube per minute per the following: 1 gpm = 0.0022280092272 ft3/second

Convert the final answers from pound per square foot to feet of water per the following: 1 lb/ft2 = 0.016018463451 ft-H2O

The solution should match the following results:

1 - 40 gallons per minutes. The pressure drop is calculate d

D 2 2

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 Databases Questions!