Problem: Find inflection points

Problem

Solution