Question: Use a given function f ( x ) = x 3 + 3 x 2 - 6 x - 8 to generate a set of

Use a given function f(x)=x3+3x2-6x-8 to generate a set of N=20 interpolation nodes f(xi)=y,
i=1,dots,12 in the range -5,0.
Case 1: construct at interpolation nodes (xi,yi) of the Lagrange interpolation polynomial P(x) and
compute values of P(x) at points placed 3 times denser than the selected set of the interpolation nodes.
Show the continuous function f(x), interpolation nodes (xi,yi) and Lagrange interpolation polynomials
P(x) in one plot (Figure 1) Can you write this code in C programming as a beginner?
 Use a given function f(x)=x3+3x2-6x-8 to generate a set of N=20

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!