consider the function identify all possible inflection points of…