# Triangular Prism Volume

## Description

A triangular prism is a three-sided prism; it is a polyhedron made of a triangular base, a translated copy, and 3 faces joining corresponding sides.

Equivalently, it is a pentahedron of which two faces are parallel, while the surface normals of the other three are in the same plane (which is not necessarily parallel to the base planes). These three faces are parallelograms. All cross-sections parallel to the base faces are the same triangle. The volume of any prism is the product of the area of the base and the distance between the two bases. In this case the base is a triangle so we simply need to compute the area of the triangle and multiply this by the length of the prism.

## Variables

V | Triangular Prism Volume (m^{3}) |

b | The triangle base length (m) |

h | The triangle height (m) |

l | The length between the triangles (m) |