add new formula pendulum