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.
First, the volume of the half ball $B$ with radius $R$ is $\frac23\pi R^3$. In
spherical coordinates$(R,\theta,\varphi)$, the coordinates of the centre of gravity $G$ are given by the integrals \begin{align}\newcommand\d{\mathop{}\!\mathrm{d}} x_G&=\frac3{2\pi R^3}\iiint_B x\d x\d y\d z=\frac3{2\pi R^3}\iiint_{\substack{0\le r \le R\\[0.35ex]0\le\theta\le 2\pi\\[0.2ex]0\le\varphi\le\tfrac\pi2}}(r\sin\varphi\cos\theta)\,r^2\sin\varphi\d r\d\theta\d\varphi \\ y_G&=\frac3{2\pi R^3}\iiint_B y\d x\d y\d z=\frac3{2\pi R^3}\iiint_{\substack{0\le r \le R\\[0.35ex]0\le\theta\le 2\pi\\[0.2ex]0\le\varphi\le\tfrac\pi2}}(r\sin\varphi\sin\theta)\,r^2\sin\varphi\d r\d\theta\d\varphi\\ z_G&=\frac3{2\pi R^3}\iiint_B z\d x\d y\d z=\frac3{2\pi R^3}\iiint_{\substack{0\le r \le R\\[0.35ex]0\le\theta\le 2\pi\\[0.2ex]0\le\varphi\le\tfrac\pi2}}(r\cos\varphi)\,r^2\sin\varphi\d r\d\theta\d\varphi \end{align}