Вы находитесь на странице: 1из 3

Faculty of Mechanical and Manufacturing Engineering

BDA 34003 Engineering Mathematics IV


Tutorial 3
1.

Table 1 is generated by function f ( x) x 2 1 .

x
f(x)

-2
5

Table 1
0
1

-1
2

1
2

2
3

3
10

Determine the value of f (1.65)


(a)
Analytically
(b)
Using First Order Lagrange Interpolating Polynomial
(c)
Using Second Order Lagrange Interpolating Polynomial
(d)
Using Third Order Lagrange Interpolating Polynomial
(e)
Compare the accuracy of the obtained results in part (b) to (d).
2.

Given the data


x
f(x)

1
4.75

Table 2
3
5.25

2
4

5
19.75

6
36

Determine f (4) using the Lagrange polynomial of order 1, 2 and 3.


3.

Table 3 is generated by the function f ( x)

2x
.
1 x2

Table 3
x
f(x)

0
0

1
1

2
0.8

3
0.6

4
0.4706

5
0.3846

Determine the value of f ( x) when x 2.23


(a)
Analytically
(b)
Using Langrange polynomial
(i)
for the second, third and fourth data points
(ii)
for the last four data points
(iii)
for the first four data points
(c)
Calculate the absolute error in part (b)
(d)
Can we interpolate for f (5.5) using Lagrange interpolation? Justify.

UTHM/FKMP/ONGP/BDA34003/Tut3

4.

Solve Question (2) using Newtons interpolating polynomial of order 1 to 4.

5.

Develop cubic spline for the data in Question 2 and predict f (4) .

Final Exam Semester 3, 2014/2015


Given the following table.
Table 1: Data generated from function f(x)
x0 1.0 f [x0 ] a

f [x0 , x1 ] 0.84 f [x0 , x1 , x2 ] f

x1 1.4 f [x1 ] b

f [x1 , x2 ] d

x2 1.6 f [x2 ] c

f [x2 , x3 ] e

f [x0 , x1 , x2 , x3 ] 0.096

f [x1 , x2 , x3 ] 0.187

x3 2.0 f [x3 ] 0.693

(i)
(ii)

Identify the values of a, b, c, d, e and f using Newtons Divided Difference


method.
Construct a natural cubic spline function that interpolates the value of f(1.2).
Subsequently, approximate its value.

UTHM/FKMP/ONGP/BDA34003/Tut3

Answer
1

(a)

3.7225

(b)

2.65

(c)

2.65

(d)

2.2746

(e)

1.073, 1.073, 1.448

12.5, 9.5, 10

(a)

0.747

(b)(i) 0.754
(b)(ii) 0.7463
(b)(iii) 0.7104
(c)

0.007, 0.0004, 0.036

(d)

No. The value x = 5.5 is not within the range of data.

12.5, 9.5, 10, 10

9.7582

Final Exam Semester 3, 2014/2015


a = -0.000240
b = 0.335760
c = 0.469800
f(1.2) = 0.175531

UTHM/FKMP/ONGP/BDA34003/Tut3

Вам также может понравиться