Determine Function Increasing Or Decreasing