this particular case the electricfield attracts the dielectric into the capacitor with a force
ε0bV2(k−1)2d
b – Width of plates
k – Dielectric constant
d – Separation between plates
V = E = Potential difference.
this case the surfaces are frictionless, this force is counteracted by the weight.
ε0bE2(k−1)2d=Mg
M=ε0bE2(k−1)2dg