Rates of change in word problems