Professional Documents
Culture Documents
1 Solutions of Milestone 3
1 Solutions of Milestone 3
π
6 π0
π 00
3
π
(a)
1
λ
4
λ0
λ00
3.5
2.5
λ
1.5
(b)
2
Five equispaced interpolation points.
π
π0
12
π 00
10
8
π
(a)
3
λ
λ0
100 λ00
80
60
λ
40
20
(b)
4
2 Solutions of milestone 4
Three equispaced interpolation points.
(a) Error first derivative at x = −1.
(b) Error first derivative at x = 0.
(c) Error second derivative at x = −1.
(d) Error second derivative at x = 0.
6 = 10−6
= 10−3
4 = 10−1
0
log Error
−2
−4
−6
−8
−10
−12
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(a)
5
= 10−6
5 = 10−3
= 10−1
−5
log Error
−10
−15
−20
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(b)
6
15 = 10−6
= 10−3
= 10−1
10
log Error
−5
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(c)
7
15 = 10−6
= 10−3
= 10−1
10
5
log Error
−5
−10
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(d)
8
Five equispaced interpolation points.
(a) Error first derivative at x = −1.
(b) Error first derivative at x = 0.
(c) Error second derivative at x = −1.
(d) Error second derivative at x = 0.
6 = 10−6
= 10−3
4 = 10−1
0
log Error
−2
−4
−6
−8
−10
−12
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(a)
9
= 10−6
5 = 10−3
= 10−1
−5
log Error
−10
−15
−20
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(b)
10
15 = 10−6
= 10−3
= 10−1
10
log Error
−5
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(c)
11
15 = 10−6
= 10−3
= 10−1
10
5
log Error
−5
−10
−9 −8 −7 −6 −5 −4 −3 −2 −1
log ∆x
(d)
12