\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A principal is invested for 3 years with interest compounded semi-annually. Find the number of compounding periods \(n\).
\(n = \)