A popular model for the mass distribution in a spheroid (such as a bulge) is the Hernquist model, with density
p(r) = M(total) a / (2 pie r (a+r)^3)
where M(total) is the total mass and a is a constant with dimensions of length.
Derive the enclosed mass M(r) and the rotation curve v(r). Show your work.