Question: How can I write a code on my computer for this question 5. In this quostion, we represent a polynomial (of degree n ) a0+a1x+a2x2++anxn
5. In this quostion, we represent a polynomial (of degree n ) a0+a1x+a2x2++anxn as a list of its coefficients pol =[a0,a1,a2,,an]. For instance, 65x+x3 is represented as [6,5,0,1] (a)[1] Write a function differentiate_polynomial (pol) which computes the derivative of pol and represents it again as a list of coefficients. (b)[1] Write a function integrate polynomial (pol) which computes the antiderivative of pol and represents it again as a list of coefficients (you can assume that the integration constant is zero). You are not allowed to use any modules/packages for this question; instead, write your own code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
