Calculates the compound total as principal × (1 + annual rate)^years. Because the interest is added to the principal, the growth accelerates year after year.