A study on non-equilibrium dynamics in classical and quantum systems