Side length of the base (must be positive)
Height (length) of the prism (must be positive)
Calculates the base area: A = (√3 / 4) * a²
Gets the side length of the base.
Gets the height (length) of the prism.
Calculates the lateral surface area: 3a * h
Calculates total surface area: SA = 2 * baseArea + lateralSurfaceArea
Calculates volume: V = baseArea * height
Represents a triangular prism with an equilateral triangle base.