https://www.youtuberandom.com/watch/GaltHJF6WyI/identifying-the-relative-maximum-and-minimum-values-of-a-function-video