a: The length of an apothem of the base of the prism
n: The number of sides of the base of the prism
s: The length of a side of the base of the prism
h: The height of the prism
V: The volume of the prism
A cube is a square prism with the height of the prism equal in length to one of the sides of the square base.