Question: Solve this problem in Python The solution has to look in the following format below. Fluid Mechanics The Reynolds number is a key parameter used

Solve this problem in Python

Solve this problem in Python The solution has to look in the

The solution has to look in the following format below.

following format below. Fluid Mechanics The Reynolds number is a key parameter

Fluid Mechanics The Reynolds number is a key parameter used to determine the type of fluid flow through a pipe. It is given by Re = (Vd)/v where Re is the Reynolds number (a dimensionless value), V is the velocity (m/s or ft/s), d is the diameter of the pipe (m or ft), and v is the kinematic viscosity of the fluid (m/s2 or ft/s). The kinematic viscosity, v, is a measure of the fluid's resistance to flow and stress. Except when at extremely high pressures, a liquid fluid's kinematic viscosity is dependent on temperature and is independent of pressure. The following chart lists the kinematic viscosity of water at three different temperatures: Temperature (C) 5 10 15 Kinematic Viscosity (m/s) 1.49 x 10-6 1.31 x 10-6 1.15 x 10-6 Using this information, write a Python program that asks the user for the velocity of the water flowing through a pipe (V), for the pipe's diameter (d), and to select the water's tem- perature (T) from 5C, 10C, and 15 C. Your program should then calculate the Reynolds number based on the input values. Test your program with the following data: Input Output V d T Re 0.01 0.01 0.1 0.1 3.5 2 5 10 15 6.71 x 10 7.63 x 103 6.09 x 106 Finally, format your program to match the sample below. Your output should exactly match the sample output, character for character, including all white space and punctuation. Hint: The string for printing is \u00BO', which is the Unicode for this symbol. Also note that the last line of output broke across two lines because it was too long for the terminal. Your out- put does not have to do this. User input in the sample has been highlighted in Pappy's Purple to distinguish it from the program's output, but your user input does not need to be colored. Save your program as fluid_mechanics.py, and submit it along with a screenshot showing a run of all 3 of the test cases. Terminal $ python fluid_mechanics.py Enter the velocity of water in the pipe: 0.1 Enter the pipe's diameter: 0.1 Enter the temperature in C as 5, 10, or 15: 10 The Reynolds number for flow at 0.1 m/s in a 0.1 m diameter pipe at 10.0C is 7.63e+03

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!