A rod with uniform density (mass/unit length) $\delta(x) = 8+\sin\!\left(x\right)$ lies on the $x$-axis between $x= 0$ and $x= \pi.$ Find the mass and center of mass of the rod.

mass =
center of mass =