formula for surface area of a triangular prism

The formula for the surface area of a triangular prism is given by:

Surface Area = 2 * base area of the triangle + perimeter of the triangle * height of the prism

where the base area of the triangle can be calculated using the formula for the area of a triangle:

Base Area = 0.5 * base of the triangle * height of the triangle

and the perimeter of the triangle can be calculated by adding the lengths of all three sides of the triangle.