Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 . 1 ( modified ) from book Suppose that we have a cylindrical tank ( Figure 1 . 3 ) with radius r

Problem 1.1(modified) from book
Suppose that we have a cylindrical tank (Figure 1.3) with radius r(m) and height h(m). The tank is being filled at a flow rate F(m3min) for a period of time t(hr). Draw a flowchart and write a VBA program to determine volume of tank Vt, water Vw and overflow Vo.
The program should consist of the following steps:
Declare following constants: r=5m,h=10m
Read value of F and t from spreadsheet cells.
Compute the volume Vt of the cylinder and display in spreadsheet
Compute the volume Vw of water flowing into the tank over time t and display in spreadsheet
If the tank overflows, compute the volume of water (Vo) that is lost. Display it in spreadsheet and change its color to Red. If no water is lost display 0 and change color to Green.
Use appropriate labels in spreadsheet
Test your code with F=15m3min,t=2hr and F=3m3min,t=2hr.
Done on excel. But need to also show a foowchart on sheet1 on excel. Please and thank you
image text in transcribed

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

=+j Enabling a productive global workforce.

Answered: 1 week ago

Question

=+ Are you interested in creating or

Answered: 1 week ago