A perfectly cylindrical container standing upright with a top and bottom (an oil drum

or coke can for example) has an empty mass of M and a height of H. It is filled with
a liquid of uniform density of variable mass m up to height h. When the container is
full the centre of gravity is in the centre (H/2). As the container is emptied and m
reduces the centre of gravity moves down. Once the container is empty the centre
of gravity is again at the centre (height H/2). Using calculus calculate the value of h
in terms of H, m and M when the centre of gravity is at its lowest position.

m is a function of height h, namely

m(h) = ρAh

The centre of gravity is at a distance x from the bottom of the cylinder, given by:

x(h)=(M*H/2+m*h/2)/(M+m)
substitute m=m(h)
x(h)=(MH/2+ρAh²/2)/(M+ρAh)

1. Differentiate with respect to h,
2. equate derivative to zero for maximum
3. Solve for h when dx/dh=0 to get
hmax=(sqrt(M^2+ρAHM)-M)/(ρA)
the negative root is rejected.

Check the calculations.

To find the value of h when the center of gravity is at its lowest position, we need to determine the position of the center of gravity as a function of h and then find its minimum.

The center of gravity of a homogeneous cylindrical container filled with a liquid can be determined by considering the distribution of mass. Let's assume the height of the container is H and the mass of the empty container is M.

When the container is completely filled with liquid up to height h, the mass of the liquid can be given as m = M + πr^2hρ, where r is the radius of the container and ρ is the density of the liquid.

Now, let's calculate the position of the center of gravity as a function of h. We can use the concept of moment about a reference point.

We choose the bottom of the container as our reference point. The center of gravity of the empty container is at H/2, which means the distance of the center of gravity from the reference point is H/2.

For the liquid-filled part, the center of gravity can be determined by integrating the moments of infinitesimally small mass elements about the reference point.

Taking a thin slice of thickness dh at a height y from the bottom of the container, the mass element dm contained in this slice can be expressed as dm = πr^2ρdh.

The moment of this mass element about the reference point is given by dM = dm * y, where y is the distance of this mass element from the reference point.

Substituting the values, dM = πr^2ρh(y)dh.

To find the total moment due to the liquid-filled part, we can integrate this expression from h to H/2:

M = ∫[h to H/2] (πr^2ρh(y)dh)

Next, we need to find the value of h that minimizes this expression M to determine the lowest position of the center of gravity. To do that, we differentiate M with respect to h and set it equal to zero.

dM/dh = ∫[h to H/2] (πr^2ρh'(y)dh) = 0

Now, we have an equation to solve for h in terms of H, m, and M when the center of gravity is at its lowest position. This equation can be quite complex and may necessitate numerical methods to find the solution.

To solve this equation, we would need specific values for the radius of the container (r), the density of the liquid (ρ), the mass of the empty container (M), and the total mass of the liquid-filled container (m).

Please provide these specific values to obtain a numerical solution or continue with the provided equation to evaluate it analytically if desired.