# How to divide a polynomial to another using NumPy in Python # importing packageimport numpy  # define the polynomials# p(x) = 5(x**2) + (-2)x +5px = (5, -2, 5)  # g(x) = x +2gx = (2, 1, 0)  # divide the polynomialsqx, rx = numpy.polynomial.polynomial.polydiv(px, gx)  # print the result# quotiientprint(qx)  # remainderprint(rx)