ELEC3846 Numerical Methods and Optimization: Bachelor of Engineering Department of Electrical & Electronic Engineering
ELEC3846 Numerical Methods and Optimization: Bachelor of Engineering Department of Electrical & Electronic Engineering
ELEC3846 Numerical Methods and Optimization: Bachelor of Engineering Department of Electrical & Electronic Engineering
Bachelor of Engineering
Department of Electrical & Electronic Engineering
2019-2020 Semester 2
Online Examination
J
(b) Find the coefficients of the explicit third order formula of the form
h[b II) b. ,rl) b. (I)
.9 1
Yn+I :::: 2 Y,, + ),n-1 +a,Yn -2 + oYn + 1>11-l + 2Y11-2 ' n >2
_ . . (10° ")
. . ,o
1 2 ...;....;.,._;-
3 3 3
2 2 l
A=
3 3
2 1 2
3 3 3
(i) Find its inverse by making use of its orthogonal properly. (2%)
(ii) Find the condition number of A bm;ed on 2�11ortn. (3%)
(b) Approximate the following data (x,. Yi) by leastsquare with this polynomial
P(x) = Cfo +a.i x+ a2 x2 • Use QR decomposition and do the QR factorization by
Orani-Sqhmidt method; (Yc::>tl may express your calcttlation in 5 sig. fig. for
· convenience)
i 1 2 3
(18%)
XJ I 3 5
y; 5 20 50
(c) I3ased on the result in (a), find the condition number ef Q that you find in (b).
(1%)
4
(c) Consider the objective function f(x) = xj =(i.Jxr. Its global minimizer is at
x=O.
(i) Write down the algorithm for Newton's method applied to this problem.
(3%)
(ii) Show that as long as the starting point is not 0, the algorithm in (i) does not
converge to O (no matter how close to Owe start). (2%)
(a) Find the four loqal extrernlzers of f(xi,�)=4.:\'1 +x; subject to X: +Xi =9 by
using Lagrange· condition. Then t1Se second order suftici�nt condition to distinguish
minimizers ·and maxin1izers: (16%)