Assignment 2
Assignment 2
min x2 + 2x + 1
s.t. 3x5
And suppose that we use one of the following two methods to solve the problem:
(a) Exhaustive Search Method; (b) Golden Section Method.
If the length of the final interval of uncertainty needs to be less than 0.2, determine
how many function values should be calculated in each case.
min x3 ex
Solve the problem using Bisection Method with initial interval [0, 2]. Your solution
error should within 0.2.
min x4 1
(a) Solve the problem using Newton’s Method. Start from x0 = 4 and perform
three iterations.
(b) Solve the problem using Scant Method. Start from x0 = 4 and x 1 = 6, and
perform three iterations.
5. For both of the sequences listed below, find the limit and determine the order of
convergence:
2k
(a) The sequence 1.05, 1.0005, 1.000005, ... with general term xk = 1+5⇥10 for k =
1, 2, 3, ...
(b) The sequence 4, 2.5, 2.05, ... with x0 = 4 and general term xk+1 = (xk /2) +
(2/xk ) for k = 1, 2, 3, ...
1
a 6 5 C3 8
N
Y 1
N 79
if
thus N 80
b.gl
7.6649
培
8
以N
Let
fcxkx
3 上
捌
gc gngan
l.cn 圹 垃
吃 1
3
94
es gcngnco.DE
乺 05
0
51 75 在
go 5
to
going no
0
75
型 7520 7 075.7
75 3
g
075 0875
gco
7 I
875jc gco.no7519
875 1
o
少
hence the final intend IS to 875
a 拟 州
批 4P
2
f 12
X_X 本峲
4
吢是
J 照 i
X_X
脊前
加 本茻 J 嚖前 i
x_x 1
b x_x _fix 拗 批
4 6
4 4.43
40 4 P
i
Xrx
fly
九
拟 批
2040
叫
X3 h fcxgh.tl
栦挱
1.7800
3 2
5 12
杊 19
3加 10X 12
fly
挱 6x 10
0
H x
1.2
XFX
㵘 0.9488
X_X
9 1
09367
Y 想
12
if x
59.1945
28.8196
h
13.6876
Y
6.5
if X
Y 4.7045
Y 4.314
ˋ
ˋ
4.2709
Y
a 如 1
5xi limY
x_x1 x_x
40
1
ek lxktkt.nl
5xlǒk
㤈让1
145
5 如炒
圸 145
linear convergence
5i 址 with order I
㼭 5从
b.in 㙄 墟
lim
㗟淫 墛
2
Ki
for pn.im
xktl 磊 器 21_
㔏器
21 产 13
z 1imlxkt x
lxk y 1 秋 212
㶯
㨽 14 圳 州 州 加州
加州 前 加州
thngfktlEHMCK.gl
lap is constant let HMM
notice that
三
hence 杣 after M iteration is proportional
to
lyk yM.tk
order is same as1们 whichis
p XK
XK fCX
g
jlN ekXK
d.ektFXk.tl
assume of is continuous near and f 岒
and 吖
between xk
彬
fcyekf 㟣 埘啊
想
Xk
棥 ixk
ekfytiit fCX ektl
ekftt.itxlek
XH
梦莉 邛
鼷 i
thusyyquadraticagcomerg.to