Feodalherren said:
This is all the information that was given in the question. I know it's very vague.
the a^3 comes from the integral. I said that the Gaussian is inside of the earth. Apparently the formula is correct.
There are the "hints" given:
Imagine a spherical surface just above Earth’s surface to enclose the entire planet.
Assume the field is uniform. Calculate the total electric flux through the entire surface, taking care to use the correct sign.
Write Gauss’s law relating the flux to the charge enclosed within the surface, and use it to find the enclosed charge.
I think you probably trying to make this harder than they intended.
With your using both and a and an r and have r<a and a^3 and r^1 it seems like you are trying to come up with what fraction of the total charge on the Earth is contained within a shell of radius a or something.
Or maybe you were trying to start some sort of proof of a simple way to treat a uniformly charged sphere or something.
Anyway, they give you E in the atmosphere, so we are dealing with the entire Earth contained so you don't need to do any within the radius stuff. And the atmosphere is thin and the bumps and valleys on the Earth are small, it's all insignificant compared to the radius of the Earth so just forget all that and all you need to do is just use radius of the Earth and assume that covers it all, again all the bumps and a few thousand meters here or there doesn't matter or the height of the measurement in the atmosphere, etc. whatever, forget it, so just forget about the a and all that stuff.
The Earth is spherical, very symmetric so think what that means and how you can treat the charge throughout a solid sphere to make things very simple and the basic rule they surely flat out told you about Gauss Law for such a case. (they probably are not asking you to prove this for this question either)
And then apply Gauss law around that. You are given radius of the Earth and the magnitude of the electric field and the constant so in the end you should have nothing left in bare variable but the charge that they want and it should be just a simple algebra of multiplying a few numbers to get the answer.