How To Find Relative Maximum