Question: Help with MATLAB coding exercise. Derivatives of Polynomials Implement a function base on the complete Horner's method that returns the kth derivative of a polynomial

Help with MATLAB coding exercise.

Help with MATLAB coding exercise. Derivatives of Polynomials Implement a function baseon the complete Horner's method that returns the kth derivative of a

Derivatives of Polynomials Implement a function base on the complete Horner's method that returns the kth derivative of a polynomial evaluated at a given position p(k)(z0) Your function should accept the following inputs: a - vector containing the coefficients of the polynmial of degree n, of size 1 by (n+1), where the coefficients of the polynomial are listed from lowest order to highest order. For example, p(z)=1/2+z+2z2+3z3 is represented by a=[1/2,1,2,3] z0 - where the appropriate derivative will be computed. k - the order of the derivative to compute, where k bigger than or equal to 0 . (The 0th derivative is just the function itself) Your function should return the following output: w - The value of the kth derivative at z0. \begin{tabular}{r|r} 1 & function w= poly_diff (a,z0,k) \\ 2 & a= horner_complete (a,z0); \\ 3 & o \\ 4 & how do Taylor coefficients at z0 give me derivative information at z0? \\ 5 & \%-insert code here- \\ 6 & end \\ 7 & \\ 8 & function a= horner_complete (a,z0) \\ 9 & ginsert your horner code here- \\ 10 & gin -ing \\ 11 & end \end{tabular} Code to call your function

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!