Question: By using Matlab and disp function. Please solve qusetion 19. 19. The pressure drop p n pascals (Pa) for a fluid flowing in a pipe

By using Matlab and disp function. Please solve qusetion 19.
 By using Matlab and disp function. Please solve qusetion 19. 19.

19. The pressure drop p n pascals (Pa) for a fluid flowing in a pipe with a sudden increase in diameter is given by: where is the density of the fluid, v, the velocity of the flow, and d and D are fined in the figure. Write a program in a script file that calculates the pres- sure drop p. When the script file is executed, it requests the user to input the density in kg/m3, the velocity in m/s, and values of the nondimensional ratio d / D as a vector. The program displays the inputted values of and v followed by a table with the values of dID in the first column and the cor- de responding values of Ap in the second column. Execute the program assuming flow of gasoline ( = 737 kg/m3) at v 5m/s and the following ratios of diameters d/D-09, 0.8,0.7,0.6, 0.5,0.4,0.3 20. The net heat ernh

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!