Question: Problem 1 . 1 ( modified ) from book Suppose that we have a cylindrical tank ( Figure 1 . 3 ) with radius r
Problem modified from book
Suppose that we have a cylindrical tank Figure with radius and height The tank is being filled at a flow rate for a period of time 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:
Read value of and from spreadsheet cells.
Compute the volume Vt of the cylinder and display in spreadsheet
Compute the volume of water flowing into the tank over time 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 and change color to Green.
Use appropriate labels in spreadsheet
Test your code with and
Done on excel. But need to also show a foowchart on sheet on excel. Please and thank you
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
