Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program Specifications Part 1: Use the developed code in 4.27LAB : Industrial process (Part 1) Part 2: Considering that the previous tank is a reservoir

image text in transcribedimage text in transcribedimage text in transcribed

Program Specifications Part 1: Use the developed code in 4.27LAB : Industrial process (Part 1) Part 2: Considering that the previous tank is a reservoir of a chemical product used to supply tanker trucks. It is required to ensure that the volume of a chemical in the tank is greater than the volume of the tanker truck. For this, building on the previous problem, develop a code to determine: If the tank has the minimum required volume of chemical product to fill the tanker truck, Or, if it is necessary to refill the tank. If so, how long would it take? Assume that the tanker truck volume (Vtruck )and intake flow of chemical (F) to fill the reservoir are given information. NOTE: Figures to illustrate the process are available on Canvas. (a) (b) Program Specifications Part 1: Figure 1 shows a cylindrical tank with a conical base typically used in a chemical industrial process. If the liquid level is within the conical part, the volume is simply the conical volume of liquid. If the liquid level is midrange in the cylindrical part, the total volume of liquid includes the filled conical part and the partially filled cylindrical part. Design a code to output the liquid volume (with two digits after the decimal point for all cases) as a function of the given user's values of R and d, where the depth is less than 3R. Output an error message (Overtop!) if you overtop the tank, i.e., d>3R. Also, output error message if the user enters invalid values for d and R. Note that the tank radius is R. Hint: The volume of a cone with height, h, and a circle base of radius, R, is: Vcone =(1/3)R2h NOTE: Figure to illustrate the process is available on Canvas. Ex: If the input is: 10.9 The output is

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

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

Methods of Delivery Guidelines for

Answered: 1 week ago