practicesolution

# practicesolution - i 2,x i 1,x i f x i 3,x i 2,x i 1,x i f...

This preview shows page 1. Sign up to view the full content.

Practice Solution Given a set of data provided in Table 2 below: (a) Write the general form of the Newton’s interpolating polynomial that passes through five data points. (b) Make a table with columns of i , x i , f ( x i ), f [ x i +1 , x i ], f [ x i +2 , x i +1 , x i ], etc., and complete the table. List all coefficients clearly and write down the Newton’s interpolating polynomial. (c) Derive the Lagrange form of the equation that passes through the same data points. i x i f ( x i ) 1 -2 -15 2 -1 0 3 0 3 4 1 0 5 2 -3 Solution: (a) The Newton form of the equation y = f ( x ) = b 0 + 4 X i =1 b i i - 1 Y j =0 ( x - x j ) (b) The result is shown as following table i x i f ( x i ) f ( x i +1 , x i
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: i +2 ,x i +1 ,x i ) f ( x i +3 ,x i +2 ,x i +1 ,x i ) f ( x i +4 ,x i +3 ,x i +2 ,x i +1 ,x i )-2-15 15-6 1 1-1 3-3 1 2 3-3 3 1-3 4 2-3 Newton’s interpolating polynomial: f ( x ) =-15 + 15( x + 2)-6( x + 2)( x + 1) + x ( x + 2)( x + 1) (c) Lagrange polynomial form f ( x ) = 4 X i =0 f ( x i ) Q 4 j 6 = i ( x-x j ) Q 4 j 6 = i ( x i-x j ) Given data from the table f ( x ) =-. 625( x +1) x ( x-1)( x-2)+0 . 75( x +2)( x +1)( x-1)( x-2)-. 125( x +2)( x +1) x ( x-1) 1...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern