Do you know that if we know the charge distribution, then we can calculate the electric field due to this charge distribution? This is based on the gauss law of electrostatics.
Statement. Total electric flux through any closed surface, is equal to 1/ε times the total charge enclosed by the surface. Continue reading “Gauss law for electrostatics derivation”