I must find the z centroid of a hemisphere with radius a. It's base is on the x-y plane and its dome extends up the z axis. I am using the following equations to determine the centroid.
I am using and and integrating from 0 to a
I know the answer is supposed to be Where did I mess up?