MTH603 Assignment 2

Question: 1

Using Lagrange’s interpolation formula, find the value of cos(π/6) using the following table. Also estimate the error in the solution.

x

0

π/4 π/2

y=cos x

1

0.7071

0

Question: 2

Estimate d/dx(2.3) and d/dx(1.3), using the following table.

x

1.3

1.5

1.7

1.9

2.1

2.3

y

3.753

3.523

3.333

1.9922

1.5442

1.2969