When the pendulum is at rest , with the string vertical, it is said to be at its mean position.