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

Ouestion 1 (L.o.1.3; L.O.2.

2) (2 marks)

Consider the following function:


f{x}: -0.6xa- 0.8rB -Ex? -x + L.g {1}
"rp: S.$,Ii: p.t$
1/ Calculate analytically the first derivative and the second derivative of function (t) at xo
2l Estimate numerically the flrst derivative and the second derivative of function (1) at xo using
centered finite-divided difference formula Q) e (3). Compare the numerical results with analytical
ones to determine the errors
F,{ j.,,. : -.f(*o*r} + fi,ftxr+r} - I f{xr-r} +gqx,-r} ._.
-i- \-. L4,J

-"i'{x;+r} * 16 f{x6ar} - sn f{x,} + 16 f{ni:r.} - f,(xc-a}


f "(;r1) - La hr
t3)

Ouestion 2 (L.O.1.3; L.O.2.1) (2 marks)

i/ Compute numerically the following integral using Newton- C6tes method:

+l

J (*' +9x2 * 7x-rrs ) dx


-1

The abscissae and factors of the 3 points of integration are given as follows

xr:-1, @1 : *t *r:o, cDr:!rx3:1, -r:1

2/ Estimate the error (compare with the exact solution given by the analytical integration Newton-
Leibnitz)

Ouestion 3 (L.O.4.3 ; L.o.4.4; L.O.6. 1 ) (2 marks)

Consider a 3-node triangular (1- 2- 3) with node 1(x: 0; y: 0), node 2(x: 1; y: 0); node 3(x: 0; y: 1).
1/ Determine the three interpolation functions Nr(x, y), Nz(x, y), Nl(x, y)
2l Given tr:
800; t2:830i t3: 810 are temperatures at node 1, node 2, node3, respectively.
Interpolate temperature at point M(x: 0.2;y:0.2)

Student's ID:... Student's full name:. Page ll2

You might also like