# How to multiply a polynomial to another using NumPy in Python # importing packageimport numpy  # define the polynomials# p(x) = 5(x**2) + (-2)x +5  px = (5, -2, 5)# q(x) = 2(x**2) + (-5)x +2qx = (2, -5, 2)  # mul the polynomialsrx = numpy.polynomial.polynomial.polymul(px, qx)  # print the resultant polynomialprint(rx)