A dielectric slab of area A and thickness d is inserted between the plates of a capacitor of area 2A with constant speed v as shown in fig. Distance between the plates is d.
The capacitor is connected to a battery of e.m.f E. The current in the circuit varies with time as
C=Kϵ0vtbd+ϵ0(1−vt)bd;q=CV
I=dqdt=VdCdt=V[Kϵ0bvd−ϵ0bvd]=constant
So, till the dielectric is fully inserted, a constant current will flow. When the dielectric is fully inside, C will be constant, so I = 0. And when dielectric starts coming out, again a constant current will flow but in opposite direction.