Ex. 1: Implement a method __add__ that constructs a new polynomial  by adding two given polynomials  and . In monomial form, polynomials are added by just adding the coefficients, whereas in Newton form, the coefficients depend on the abscissas  of the interpolation points. Before adding the coefficients of both polynomials, the polynomial  has to get new interpolation points with the property that their abscissas  coincide with those of , and the method __changepoints__ has to be provided for that. It should change the interpolation points and return a new set of coefficients.
Ex. 2:Â Write conversion methods to convert a polynomial from Newton form into monomial form and vice versa.
Ex. 3: Write a method called add_point that takes a polynomial q and a tuple  as parameters and returns a new polynomial that interpolates self.points and .
Ex. 4: Write a class called LagrangePolynomial...