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
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:4| Question number:13.4
All Answers
total answers (1)
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