Analytical solution of tokamak vibrations during axisymmetric plasma disruptions