To find the height of the cone, we can apply the Pythagorean theorem.
Given:
- The diameter of the base \(d = 10\) cm, hence the radius \(r = \frac{d}{2} = 5\) cm.
- The slant height \(s = 13\) cm.
In a right triangle formed by the height \(h\), the radius \(r\), and the slant height \(s\), we can express the relationship as follows:
\[ s^2 = r^2 + h^2 \]
Substituting the known values:
\[ 13^2 = 5^2 + h^2 \]
Calculating the squares:
\[ 169 = 25 + h^2 \]
Now, isolating \(h^2\):
\[ h^2 = 169 - 25 \] \[ h^2 = 144 \]
Taking the square root to find \(h\):
\[ h = \sqrt{144} = 12 \text{ cm} \]
Thus, the height of the cone is \(\boxed{12}\) cm.