Area of a ring
The area of the ring is calculated as the difference in the areas of circles with radii R and r. Also, the area of the ring through diameters is found as the product of one-fourth of the number π on the difference of squares of the outer and inner diameters of the ring.