Question: Problem (3): The pressure drop Ap in Pascal (Pa) for a fluid flowing in a pipe with a sudden increase in diameter is given by:

 Problem (3): The pressure drop Ap in Pascal (Pa) for a

Problem (3): The pressure drop Ap in Pascal (Pa) for a fluid flowing in a pipe with a sudden increase in diameter is given by: 7 where is the density of fluid, v, the velocity of the flow, and d and D are defined in the figure above. Write a program in a script file that calculates the pressure drop Ap. When the script is calculated, it requests the user to input the density in kg/m3, the velocity in m/s, and values of the non-dimensional ratio dID as a vector. The program displays the inputted values of and v followed by a table with values of dID in the first column and the corresponding values of Apin the second column. Execute the program assuming flow of gasoline (-737 kg/m3) at v = 5 m/s and the following ratios of dimensionless diD-0.9, 0.8, 0.7, 0.6, 0.5, 0.4,0.3

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!