Question: The program must be in C++ and CANNOT use loops, functions, arrays, or data file input and output; since these concepts have not been gone

The program must be in C++ and CANNOT use loops, functions, arrays, or data file input and output; since these concepts have not been gone over yet. However, assignment, symbolic constants, and interactive input CAN be used. The program that solves this exercise must use a selection structure to select the water's kinematic viscosity based on the input water temperature then calculate and display the Reynolds number. Thank you for your help in advanced!
6. (Fluid mechanics) A key parameter used to determine the type of fluid flow through a pipe is the Reynolds number, which is given by this formula: V xd Re = o Re is the Reynolds number (a dimensionless value). V is the velocity (m/s or ft/sec). d is the diameter of the pipe (m or ft). v is the kinematic viscosity of the fluid (m/s? or ft/sec2). The viscosity, v, is a measure of the fluid's resistance to flow and stress. Except at extremely high pressures, a liquid fluid's kinematic viscosity is dependent on temperature and indepen- dent of pressure. The following chart lists the viscosity of water at three different temperatures: Temperature (C) 5 10 15 Kinematic Viscosity (m/s2) 1.49 x 10-6 1.31 x 10-6 1.15 x 10-6 Using this information, write, compile, and run a program that requests the velocity of water flowing through a pipe, the pipe's diameter, the water's temperature, and the water's kinematic viscosity. Based on the input values, your program should calculate the Reynolds number. When you have verified that your program is working, use it to complete the following chart: Temperature (C) 5 Reynolds Number Velocity (m/s) .01 .03 .04 5 .01 .03 .04 .01 .03 .04 Pipe Diameter (m) .01 .01 .01 .02 .02 .02 .03 .03 .03 5 10 10 10 15 15 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
