Hydrology, Biology

Assignment Help:

Hydrology

Background:

Hydrology is the study of the movement and distribution of water resources. This is an important field of study in a dry climate like Utah. Although controversy surrounded the construction and filling of the Glen Canyon Dam, the dam has a fascinating impact on southern Utah and Arizona. The surface area of Lake Powell is (the lake behind the dam) 966 square miles and it has almost 2000 miles of shoreline. The capacity is 24,000,000 acre feet (EACH acre foot is the water it takes to cover one acre one foot deep; this is about 326,000 gallons or about 1,233,000 liters). In order to make things simple we will use the abbreviation MAF for a Million Acre Feet.
Naturally you cannot fill a 24 MAF reservoir like Lake Powell overnight. Nor can you simply shut off all of the downstream flow for a few years, while the reservoir fills. About 13.5 MAF flow into Lake Powell every year. By law, at least 7.5 MAF must be allowed to flow out, leaving 6 MAF  to fill the lake with ON AVERAGE.  Unfortunately dry climates like Utah rarely behave like the average (it’s been suggested that every year is below average). In the case of Lake Powell the annual inflow can be anywhere between about 22 MAF and 4 MAF. Your task is to write a program that will help us calculate how quickly a reservoir like Lake Powell might take to fill. Do this by simulating the random inflow and specific outflow for each year until you reach capacity. Simulate this filling process 10 times and report the maximum, average and minimum number of years required to achieve the objective.

Requirements: Design, implement and test a C++ program that:

•    prompts the user for:

  1. The name of the reservoir
  2. The capacity of the reservoir in MAF (Millions of Acre Feet)
  3. The minimum inflow in MAF
  4. The maximum inflow in MAF
  5. The required outflow in MAF

•    simulates future years in order to predict when the reservoir will be full

  1. To make a single prediction, simulate as many years as needed to accumulate the amount of water needed to fill the reservoir.
  2. For each year, simulate the inflow randomly between the minimum and maximum inflow given by the user.
  3. Make 10 predictions using the same input data (i.e., without re-prompting the user) but using different random numbers to determine the inflow.
  4. Print the results of the simulations as each completes.
  5. Be careful with the required outflow.  Note that if the inflow plus the current contents of the reservoir is less than the required outflow, you can release only that total. The reservoir can not go negative.
  6. Report the average, lowest, and highest number of years needed based on the 10 predictions.

•    When the simulations are done, give the user the option to simulate another reservoir.


Related Discussions:- Hydrology

Explain changes in mental development of infants, Explain Changes in Mental...

Explain Changes in Mental Development of Infants? There is evidently an increase in the brain size. There is a rapid increase in the number of brain cells in the first 5-6 mont

Explain nucleosides, Nucleosides : compounds formed from a nitrogenousba...

Nucleosides : compounds formed from a nitrogenousbase and  a penstose sugar.

What signifies two different alleles the gametes always pure, What is signi...

What is signified by saying that in relation to a given trait conditioned by a gene with two different alleles the gametes are always "pure"? To say so that the gametes are pur

Nursing care - megaloblastic anaemia, Planning the Nursing Care   The g...

Planning the Nursing Care   The goals of nursing care are:    Identify the causative factor of megaloblastic anaemia.    Administer appropriate vitamins depending  on

TISSUES, HOW TO WRITE A CONCLUSION ON A ASSIGNMENT OF EPITHELIAL TISSUES

HOW TO WRITE A CONCLUSION ON A ASSIGNMENT OF EPITHELIAL TISSUES

Status of dehydration, The first step should be to determine the status of ...

The first step should be to determine the status of dehydration. We have already talked about the mild, inoderate and severe dehydration. In mild to moderate cases fluid, electroly

Male reproductive disorders-cryptorchidism, Cryptorchidism Cryptorchid...

Cryptorchidism Cryptorchidism or incomplete descent of testis or retention of testis in the abdominal cavity occurs in all domestic species but is seen most commonly in stalli

Define the word glycemic, Glycemic or sugar control The control of bloo...

Glycemic or sugar control The control of blood sugar is one of the most important factors of good care for the diabetic patient. It has been shown that good glycemic or sugar c

Supenisory nursing round, Supenisory Nursing Round: Supervisory rounds...

Supenisory Nursing Round: Supervisory rounds are tours or excursions into areas where patients are cared for where personnel operate, where intra and inter departmental commun

Functions based on management principles, FUNCTIONS BASED ON MANAGEMENT PRI...

FUNCTIONS BASED ON MANAGEMENT PRINCIPLES: Planning: The objectives of nursing unit should be achieved through planning, good coordination and supervision. While planning nur

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd