Theory of the electric double layer using a modified poisson–boltzman equation