How would you find the total height of a stack of objects using calculus?