Home / Expert Answers / Computer Science / the-aim-of-this-lab-is-to-write-a-function-to-compute-the-coefficients-for-a-hermite-polynomial-pa372

(Solved): The aim of this lab is to write a function to compute the coefficients for a Hermite polynomial ...



The aim of this lab is to write a function to compute the coefficients for a Hermite polynomial interpolating function using

(1). Write a matlab routine called main.m that calls a function that you write to compute the generalized divided differences

The aim of this lab is to write a function to compute the coefficients for a Hermite polynomial interpolating function using divided differences and then to use the coefficients to compute the Hermite interpolating polynomial. The algorithm for the divided difference formulas for the Hermite polynomial coefficients is: INPUT OUTPUT , the appropriate divided differences, where the Hermite interpolating polynomial is and for STEP 1. For If then End If End STEP 2. For For End End STEP 3. OUTPUT STOP (1). Write a matlab routine called main.m that calls a function that you write to compute the generalized divided differences given above. (2). Use a Hermite polynomial to interpolate the function given below in tabular form, at the point . Use with nodes and , with nodes . (3). What is your estimate of the errors? Justify your answer. Find error bounds for these approximations.


We have an Answer from Expert

View Expert Answer

Expert Answer


opts = odeset('Stats','on');tspan = [0 2];y0 = 1;lamb
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe