Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATLAB problem. Would like detail The pressure drop delta p in Pa for a fluid flowing in a pipe with a sudden increase in diameter

image text in transcribed
MATLAB problem. Would like detail
The pressure drop delta p in Pa for a fluid flowing in a pipe with a sudden increase in diameter is given by: delta p = 1/2[1 - (d/D)^2]^2 rho v^2 where rho is the density of the fluid, v, the velocity of the flow, and d and D are defined in the figure. Write a program in a script file that calculates the pressure drop delta p. When the script file is executed it requests the user to input the density in kg/m^3, the velocity in m/s, and values of the non-dimensional ratio d/D as a vector. The program displays the inputted values of rho and v followed by a table with the values of d/D in the first column and the corresponding values of delta p in the second column. Use format g in fprintf () to display the table. Execute the program assuming flow of gasoline (rho = 737 kg/m^3) at v = 5 m/s and the following ratios of diameters. d/D = 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

1 What is meant by systematic training?

Answered: 1 week ago