ABSTRACT

This chapter highlights the PolynomF package by demonstrating basic polynomial operations, calculus with polynomials, and working with a list of polynomials. It explores the roots of degree-three polynomials, creates Pascal’s triangle and a Taylor polynomial, and tests two Legendre polynomial identities by using the tools of the PolynomF package. The chapter explains how to create random polynomials by using either poly.from.zeros or polynom. Complex roots of polynomials with real coefficients occur in conjugate pairs. The chapter provides an example that illustrates the point by plotting the real and imaginary parts of complex roots and the real roots of 50 polynomials with randomly chosen coefficients.