Rational function/R/Derivative/Polynomial if and only if derivative is zero/Exercise