Find the electric field inside a sphere which carries a charge density proportional to the distance from the origin, , for some constant .
So .
And .
So . Then solve for .
Is this correct?
Looks fine. (Although the symbols for azimuthal and polar angles in standard usage are the other way around. But your integral limits and order of integration is consistent with this so there's no problem).