Problem: Find local extreme points

Problem

Solution