least and greatest value of function