How To Find Lower And Upper Threshold