Question: using python code to solve 5. In this question, we represent a polynomial (of degree n) ao + a1x + a2x2 + ... + anxin

 using python code to solve 5. In this question, we represent

using python code to solve

5. In this question, we represent a polynomial (of degree n) ao + a1x + a2x2 + ... + anxin as a list of its coefficients pol=[ao, a1, A2, ..., an]. For instance, 6 5x + 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!