(Hydraulics)
a. Design, write, compile, and run a C++ program that calculates and displays the velocity of water flowing out of the tube shown in Figure, The velocity of water flowing into the tube is 1 ft/sec, the input tube radius is 0.75 in, and the output tube radius is 0.5 in. The output velocity is given by this formula:
vout is the output velocity.
vin is the input velocity.
rout is the radius of the output tube.
rin is the radius of the input tube.
b. Manually check the values computed by your program. After verifying that your program is working correctly, modify it to determine the output velocity for a tube having an input radius of 1 in and an output radius of .75 in, when water is flowing into the tube at a rate of 1.5 ft/sec.
Figure: Water flowing through a tube

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.