matt222 said:
it should be dv=a^2sin(theata)dad(theata)d(phi), is it right
No, the volume element depends on the radial coordinate
r, not the radius of the sphere
a. It should be
dv = r^2 \sin\theta \,dr\,d\theta\,d\phi
matt222 said:
i understad from you clearly, so when we take the half top on poistive z, the limit should goes from 0 to a for dr term, 0 to pi for theta and phi, is it true
You have the correct limits for
r, but not for the other variables.
matt222 said:
what about the density term i have two terms constant 1 and r*z, how we are going to relate this because we have now radius a , r any distance from the sphere z no idea about it,
You just plug the expression for the density in. First, take the volume element dv and multiply by the density c to get dm:
dm = c\,dv = (1+r|z|)r^2\sin\theta \,dr\,d\theta\,d\phi
And then integrate:
M = \int dm = \int\int\int_0^a (1+r|z|)r^2\sin\theta \,dr\,d\theta\,d\phi
I'll leave it to you to determine the correct limits for the angular variables and to work out the integral itself. You'll have to express z in terms of the integration variables.