A movie ticket costs $7 today. Inflation is expected to grow by 4 percent a year for the next several years. Predict the cost of the tickets if this inflation rate continues for (a) 5 years, (b) n years.

(Source: Adapted from Mathematics Teaching in the Middle School, Nov-Dec 1995).