Lagrange’s Interpolation Formula:
Assignment 3
1. Find the value of f(3.5) and f(5.5)using lagrange’s interpolation of given data.
x 1 3 4 6 7
F(x) 1 53 127 531 687
2. Following data is available for a function y=f(x)
x 0 0.2 0.4 0.6 0.8 1.0
y 1.0 0.808 0.664 0.616 0.712 1.0
Compute the value of the function at and
3. The speed of a train, running between two station is measured at different distances from the
starting station. If is the distance in from the starting station, then u(x) the speed
(in km/hr ) of the train at the distance x is given by the following table:
x 0 50 100 150 200 250
v(x) 0 60 80 110 90 0
Find the approximate speed of the train at the mid point between the two stations.
4. Following table gives the values of the function at the different values of x. find S(0.00070)
from the tabular points.
x 0 0.04 0.08 0.12 0.16 0.20
S(x) 0 0.00003 0.00026 0.00090 0.00214 0.00419
Also Obtain a fifth degree interpolating polynomial for S(x) Compute S(0.02) and also find
an error estimate for it.
5. Following data gives the temperatures (in ) between 8.00 am to 8.00 pm. on May 10,
2020 in Nepalgunj:
Time 8 am 12 noon 4 pm 8pm
Temperature 30 37 43 38
Obtain Newton's backward interpolating polynomial of degree to compute the temperature
in Nepalgunj on that day at 5.00 pm.
6. Find the least square curve for y=ax+(b/x) for the given data (y=2.211x-5.829/x)
x 1 2 3 4 5
y -1.5 0.99 3.88 7.66 9.96
7. Find the least square curve for y=eax +b for the given data.
x 1 2 3 4 5
y 3.718 8.389 21.088 55.598 149.413
Assignment 4:
1. Find the first and second derivatives of the function tabulated below at the point x = 1.5.[ f’(6) = 4.75; f “(6) = 9]
x 1.5 2.0 2.5 3.0 3.5 4.0
y 3.375 7.0 13.625 24.0 38.875 59.0
2. Find the first and second derivatives of the function tabulated below at the point x = 0.6 [Ans:
2.64442; 3.6475]
x .4 .5 .6 .7 .8
y 1.5836 1.7974 2.0442 2.2375 2.6511
3. The following table of values of x and y is given. [f’(1) = 0.3948; f(6) = 0.2731, f”(3) = 0.3341]
X 0 1 2 3 4 5 6
y 6.9897 7.4036 7.7815 8.1291 8.4510 8.7506 9.0309
4. Given the following data find f’(1)[ans:77]
X 1 1.5 2 2.5 3
F(x) 27 106.75 324 783.75 1621
5. The population of Biratnagar town as obtained from census data is shown as the following table:
Year 2020 2030 2040 2050 2060
Population in 19.96 39.65 58.81 77.21 94.61
thous
Estimate the growth of the population in 1981.[Ans. F’(2050) =1.8 Thous]