Example 2. Pendulum augmentation