"""Polynomial functions"""defpolyfit(x,y,degree):"""Return a polynomial of given degree that approximates the function f(x)=y. If x is not supplied, it is the range(len(y))."""...defpolyval(p,x):"""Evaluate the polynomial p at the points x. x must be an array."""...