A stadium is a two-dimensional geometric shape constructed of a rectangle with semicircles at a pair of opposite sides.
The same shape is known also as a pill shape, discorectangle, obround,, racetrack or sausage body.
Formulas
The perimeter of a stadium is calculated by the formula P = 2 (\pi r+a) where a is the length of the straight sides and r is the radius of the semicircles. With the same parameters, the area of the stadium is A = \pi r^2 + 2ra = r(\pi r + 2a). ==Bunimovich stadium==