How To Find When Function Is Increasing