Formula of volume of triangular prism?

volume = 1/2 x width x length x height