chapter 2 polynomial and rational functions