Inverted dynamics of a tilted parametric pendulum