Write an exponential decay function to model each situation. Compare the average rates of change over the given intervals.
21. Initial value: 50
Decay factor: 0.9
1 ≤ x ≤ 4 and
5 ≤ x ≤ 8
