Applying effective medium theory in characterizing dielectric constant of solids