A perimeter is a path that encompasses/surrounds a two-dimensional shape.
As an example, to find the perimeter of a rectangle or square you have to add the lengths of all the four sides.
if x
is in this case the length of the rectangle and y
is the width of the rectangle.
The perimeter, P
, is:
P = (x + x + y + y)
.