Diablo IV, Diablo 2 and Diablo 3 Forums - Diabloii.Net

Anyone good at calculus?

Ok, so here is the problem.. I'm trying to figure out how much liquid I have in a tank that is laying horizontally on the ground. So I figured that I could integrate with respect to hieght to find out how much liquid I have in the tank. This is what I came up with, its probably wrong, but please post if you are good at calculus and you can verify that I am correct or have found the correct solution.
Thanks

Integrating from 0 to H

=S (area*length)(hieght)dh
=S (pi*r^2*l)(h)dh
=(pi*r^2*l) * S (h)dh
=(pi*r^2*l) * [((h^2)/2)] <--don't really know how to represent this but a h up top and 0 on bottum of this chunk to the right in the [ ]

and if I plug in a value for h I will get a solution to how much liquid is in the tank, right?
Top