//Example 3-09 A Gravity Controlled Cylinderical Gate R = 0.8 //radius of cylinder [m] h_bottom = 5 //maximum level of water in tank [m] g = 9.81 //gravitational acceleration rho = 1000 //density of water [kg/m^3]