rate of change of revenue formula