suppose a sphere container of radius R=10 cm is fulled to a height of h=2 cm with a magic potion of density p=12g/mm^3. If the empty container weighs 500 g, how much does it weigh after the potion is poured in?

Recall that the volume of a spherical cap of radius R and height h is

1/3 πh^2 (3R-h)

Now you can use that and the density to find the mass of the fluid. Add that to the empty container.