Question: = 4. Let f(x)= (-4. The nodes are 10 = -2, 11 = -1, 12 = 0, 13 = 1 and 11 = 2 (a)

 = 4. Let f(x)= (-4. The nodes are 10 = -2,

= 4. Let f(x)= (-4. The nodes are 10 = -2, 11 = -1, 12 = 0, 13 = 1 and 11 = 2 (a) (3 marks) Use Matlab built in functions to find an interpolation polynomial of degree 4 and to approximate the value at x = 0.5. (b) (2 marks) Use Matlab to find Lagrange polynomial P (2) using above table. (c) (2 marks) Use Matlab to find Newton polynomial P. (2) using above table. (d) (7 marks) Using hand calculations, calculate the exact error and the approxi- mated error for Newton polynomial P. (1) at r = -0.4. (take c=0.02 and use the Newton polynomial P. (c) obtained in part(c)). = 4. Let f(x)= (-4. The nodes are 10 = -2, 11 = -1, 12 = 0, 13 = 1 and 11 = 2 (a) (3 marks) Use Matlab built in functions to find an interpolation polynomial of degree 4 and to approximate the value at x = 0.5. (b) (2 marks) Use Matlab to find Lagrange polynomial P (2) using above table. (c) (2 marks) Use Matlab to find Newton polynomial P. (2) using above table. (d) (7 marks) Using hand calculations, calculate the exact error and the approxi- mated error for Newton polynomial P. (1) at r = -0.4. (take c=0.02 and use the Newton polynomial P. (c) obtained in part(c))

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 Accounting Questions!