ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Solved example: Taylor series approximation for the function f(x) = e-x (for xi = 0.2, xi+1 = 1)
2
3
xi0.2
4
xi+11
5
Δx = xi+1 - xi0.8
6
7
8
True valueTrue valueApprox value (Calculated using Taylor Series)True percent relative errorLog of true percent relative error
9
f(xi)f(xi+1)f(xi+1)t|log(t|)
10
00th order approx0.8187310.3678790.818731122.5542.088
11
11st order approx0.8187310.3678790.16374655.4891.744
12
22nd order approx0.8187310.3678790.42574015.7281.197
13
33rd order approx0.8187310.3678790.3558753.2630.514
14
44th order approx0.8187310.3678790.3698480.535-0.272
15
55th order approx0.8187310.3678790.3676120.073-1.139
16
66th order approx0.8187310.3678790.3679108.41E-03-2.075
17
77th order approx0.8187310.3678790.3678768.50E-04-3.071
18
88th order approx0.8187310.3678790.3678807.62E-05-4.118
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100