What is the formula to calculate the circumference of a circle and how can it be used?