Problem: Find x-coordinate of centroid of the solid spherical segment.
I need to express in terms of .
I did, (and this part is probably wrong):
And for the moment arm I used
Then integrate from
I have solved it now, and OMG did my first solution attempt suck, dont read it