Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. Many private water wells produce only 1 or 2 gallons of water per minute. One way to avoid running out of water with these

image text in transcribed

7. Many private water wells produce only 1 or 2 gallons of water per minute. One way to avoid running out of water with these low-yield wells is to use a holding tank. A family of 4 will use about 250 gallons of water per day However, there is a "natural" water holding tank in the casing (i.e, the hole) of the well itself. The deeper the well, the more water that will b stored that can be pumped out for household use. But how much water will be available? Write a program that allows the user to input the radius of the well casing in inches (a typical well will have a 3-inch radius) and the depth of the well in feet (assume water will fill this entire depth, although in practice that will not be true since the static water level will generally be 50 feet or more below the ground surface). The program should output the number of gallons stored in the well casing. For your reference The volume of a cylinder is ?h , where r is the radius and h is the height. 1 cubic foot 7.48 gallons of water. For example, a 300-foot well full of water with a radius of 3 inches for the casing holds about 441 gallons of water-plenty for a family of 4 and no need to install a separate holding tank

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions