summaryrefslogtreecommitdiff
path: root/797/CH3/EX3.9.e/3_09_example.sci
blob: ab4501b17a5bce633f3d2ef6af04f999f119e5ff (plain)
1
2
3
4
5
//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]