Problem 1
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 ??1??1 = ??2??2. If the areas and V1 are known, V2 can be found.
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 increases, decreases, or remains the same as the first point.
Problem 2
In fluid dynamics, the Reynolds number Re is a dimensionless number used to determine the nature of a fluid flow. For an internal flow (e.g., water flowing through a pipe), the flow can be categorized as follows:
Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.