Calculate the Compound Annual Growth Rate (CAGR) based on the initial value, final value, and the number of periods.