Question: ONLY IN C LANGUAGE THAT WORKS WITH VISUAL STUDIO PLEASE 2 Write a program to assist in the design of a hydroelectric dam. Pron the
ONLY IN C LANGUAGE THAT WORKS WITH VISUAL STUDIO PLEASE

2 Write a program to assist in the design of a hydroelectric dam. Pron the user for the height of the dam and for the number of cubic meters of water that are projected to flow from the top to the bottom of the dam each second. Predict how many megawatts (1MW 10sW) of power will be produced if 90% of the work done on the water by gravity is converted to electrical energy. Note that the mass of one cubic meter of water is 1000 kg. Use 9.80 m/sec2 as the gravitational constant g. Be sure to use meaningful names for both the gravitational constant and the 90% efficiency constant. For one run, use a height of 170 m and flow of 1.30 x 103 m3/s. The relevant formula (w- work, m mass, g gravity, and h -height) is: w mgh
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
