Does anyone please know of a general way to determine if there's any local max and min *within a set range of X-coordinates*? As we can see, there's a local max somwhere around -1 and a local min somwhere around 3 and none whatsoever in the range 1-2. But how do I prove that there's no local max nor min in that range?