Q:

The continuity equation in fluid dynamics for steady fluid flow through a stream tube equates the product of the density, velocity, and area at two points that have varying cross-sectional areas

0

 The continuity equation in fluid dynamics for steady fluid flow through a stream tube equates the product of the density, velocity, and area at two points that have varying cross-sectional areas. For incompressible flow, the densities are constant so the equation is A1V1 = A2V2 . If the areas and V1 are known, V2 can be found as A 1 /A2 × 1 V   . Therefore, whether the velocity at the second point increases or decreases depends on the areas at the two points. Write a script that will prompt the user for the two areas in square feet, and will print whether the velocity at the second point will increase, decrease, or remain the same as at the first point.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch4Ex13.m

% Prints whether the velocity at a point in a stream tube

% will increase, decrease, or remain the same at a second

% point based on the cross-sectional areas of two points

a1 = input('Enter the area at point 1: ');

a2 = input('Enter the area at point 2: ');

if a1 > a2

 disp('The velocity will increase')

elseif a1 < a2

 disp('The velocity will decrease')

else

 disp('The velocity will remain the same')

end

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now