Determine rating of change from floating data

22 Views Asked by At

For example in this set of data (in ascending order of time)

[ 100, 98, 105, 91, 108, 106, 110, 109]

It is clearly the trend is rising but i would like to know how to determine the rate of change, so that actually the rising trend is slowing. For example here, if 110 is local max, then the rate of change form there is going from positive to negative.