The volume of a prism is equal to the area A of its base times its height h:
On the other hand, there is a formula to find the area of a triangle if the lengths of 3 sides are given.
Let a, b and c be the lengths of the sides of a triangle.
We define the semiperimeter s of the triangle as:
Then, the area of the triangle is given by the Heron's formula:
Replace a=3cm, b=6cm and c=5cm to find s:
Replace the values of a, b and c as well as s=7cm into Heron's formula to find the area of the triangular base:
Replace the value of A and h=15cm into the equation to find the volume of the prism:
Therefore, to the nearest cubic centimeter, the volume of the prism is 112 cm^3.