Question: 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
 Problem 1.1(modified) from book Suppose that we have a cylindrical tank

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!