For a prism, the angle of minimum deviation \( D_{\text{min}} \) is related to the refractive index \( n \) and the angle of the prism \( A \) by the following equation:
\[
n = \frac{\sin\left( \frac{A + D_{\text{min}}}{2} \right)}{\sin\left( \frac{A}{2} \right)}.
\]
Given that the angle of minimum deviation is equal to the angle of the prism, i.e., \( D_{\text{min}} = A \), we can simplify the equation:
\[
n = \frac{\sin\left( \frac{A + A}{2} \right)}{\sin\left( \frac{A}{2} \right)} = \frac{\sin(A)}{\sin\left( \frac{A}{2} \right)}.
\]
Substitute \( n = 3 \):
\[
3 = \frac{\sin(A)}{\sin\left( \frac{A}{2} \right)}.
\]
Solving for \( A \), we find that the angle of the prism is \( A = 60^\circ \).