A dielectric slab fills the entire space of a parallel plate capacitor. the dielectric constant of the slab varies lineraly with distance