I need to find the centre of gravity of a half ball? Previously I had successfully calculated the C.O.G. of a Tetrahedron but after several attempts, I am not able to do the half ball one.
the half ball $H = \{(x, y, z) \in \Bbb R^3| z\ge 0, x^2 + y^2 + z^2 \le 1\}
$
I know I have to use triple integral into this, but I think I am not able to initiate it the right way.

By symmetry I can tell that it is on the line $x=y=0$
Now to get $z$ we need to find few things:
the volume of the shape is: $\frac23\pi r^3=\frac23\pi$
Now the integral: we are searching for an integral of $dz$ so we need a function that "have" the change of $z$ in it, let's take the function of the radius of a circle parallel to $z=0$. By Pythagorean theorem $z^2+r^2=1\implies r(z)=\sqrt{1-z^2}$ now the area of the circle is $\pi r^2=\pi (1-z^2)$, we need to add the thickness of the circle, so we get $\pi (1-z^2)dz$
Now there is one last thing before the integration, we need to multiply the circle by its "hight", by how far it is from the circle at $z=0$, because all the circles are parallel this "hight" is just $z$ so we get $\int_0^1\pi(1-z^2)z\, dz=\frac14\pi$
Now the last part, the average of a shape in $\Bbb R^3$ is the integral/the volume so we get $\frac{\frac{\pi}4}{\frac{2\pi}3}=\frac38$ and because I know that $x=y=0$ I have the point $(0,0,\frac38)$
