### Formula

h

height

A

surface area

B

base area

P

base perimeter

h

height

A

surface area

B

base area

P

base perimeter

A prism is a polyhedron with an n-sided polygonal base, a translated copy (not in the same plane as the first), and n other faces (necessarily all parallelograms) joining corresponding sides of the two bases. B is the area of the base, h the height, and P the base perimeter.

A

B

P

h

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP