Polynomial function/R/Odd/Exercise