Worksheet Lagrange Interpolation

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

UNIVERSITY OF NAIROBI

Department of Mathematics
Lagrange Interpolation Worksheet

ATTEMPT ALL PROBLEMS WITH ENTHUSIASM


************************and enjoy as many problems as possible!************************
To access solutions and lecture recordings for for this course, PLEASE click HERE.

Question 1 Total for Question 1: 20 marks


(a) Use Lagrange multipliers to obtain the interpolating polynomial which passes
through all the following points.
x −1 0 1 2
f (x) 0 −1 0 15
Hence use your polynomial to approximate f ′ (x), f ′′ (x), f ′′′ (x), f ′ (1), f ′′ (1), f ′′′ (1).
(13 marks)
(b) Use Lagrange interpolation to evaluate sin 370 given that:
x0 350 380 400
0
sin x 0.57358 0.61566 0.64279
(7 marks)

Question 2 Total for Question 2: 20 marks


(a) Using Lagrange’s formula, find a polynomial which passes through the points

(0, −12), (1, 0), (3, 6), (4, 12)

. (10 marks)
(b) Write down the Lagrange’s polynomial through (x0 , f0 ), (x1 , f1 ), (x2 , f2 ). Hence
express
3x2 + x + 1
(x − 1)(x − 2)(x − 3)
as sum of partial fractions. (10 marks)
For any inquiry, send an email to:vcnandwa@uonbi.ac.ke

Question 3 Total for Question 3: 20 marks


(a) Using Lagrange’s interpolation formula, find the value of y corresponding to
x = 10 from the following table:
x 5 6 9 11
y = f (x) 12 13 14 16
(10 marks)
(b) Given log10 654 = 2.8156, log10 658 = 2.8182, log10 659 = 2.8189, log10 661 =
2.8202, find log10 656. (10 marks)

Question 4 Total for Question 4: 20 marks


(a) The following table gives the value of the elliptical integral
∫ θ

F (θ) =
0 1 − 2 sin θ
1 2

for certain values of θ.Find the values of θ if F (θ) = 0.3887


θ 210 230 250
F (θ) 0.3706 0.4068 0.4433
(8 marks)
(b) The values of f (x) are given at a, b, c. Show that the maximum is obtained by

f (a).(b2 − c2 ) + f (b).(c2 − a2 ) + f (c).(a2 − b2 )


2[f (a).(b − c) + f (b).(c − a) + f (c).(a − b)]
(8 marks)
(c) Show that
{
1, if i=j
Li (xj ) =
0, if i ̸= j
(4 marks)

Question 5 Total for Question 5: 20 marks


(a) Find the value of x when y = 0.3 by applying Lagrange’s formula inversely.
x 0.4 0.6 0.8
y 0.3683 0.3332 0.2897
(10 marks)
(b) The following table gives the values of the probability integral
∫ n
2 2
y=√ ex dx
π 0
corresponding to certain values of x.For what value of x is this integral equal to
1
2
?

x 0.46 0.47 0.48 0.49


y 0.4846555 0.4937452 0.5027498 0.5116683
(10 marks)

Page 2 of 2
NOTE: In order to get free access to ALL the solutions for these problems and many
more other Mathematical work; subscribe to the Youtube Channel (Mathematics Can
Smile) and you will be directed to the solutions playlist.

You might also like