Worked example: average rate of change from equation