Question: Use only with C programming Write a program to assist in the design of a hydroelectric dam. Prompt the user for the height of the
Write a program to assist in the design of a hydroelectric dam. Prompt 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 sec- ond. Predict how many megawatts (1 MW = 106W) 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 meters/secondas 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 103 m3/s. The relevant formula (w = work, = mass, g = gravity, 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
