A simple formula for the dielectric constant of a solution