Search for notes by fellow students, in your own course and all over the country.
Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.
Document Preview
Extracts from the notes are below, to see the PDF you'll receive please use the links above
Numerical Methods
Lecture 2 β Taylor Series (Continuation
of Lecture 1)
Notes
Lecturer: Stephan Juricke
Date of lecture: February 10th, 2022
Author: Lirik Maxhuni
Compute ππ(2)
We can choose the Taylor series for ππ(π₯ + 1) and evaluate at π₯ = 1
...
63452
Via calculator we get ππ(2) β 0
...
In order to get a more accurate approximation, we can use another functionβs
1+π₯
Taylor series
...
From using the logarithmβs argument division rule, we have
ln (
1+π₯
) = ln(1 + π₯) β ln(1 β π₯)
1βπ₯
1
If we choose π₯ = instead of π₯ = 1, we then get
3
1
1
1
ln(2) = 2 ( + 3
+ 5
+ β―)
3 3 β3 3 β5
This time, after only 4 terms we have a much better estimate of the result, at:
ln(2) β 0
...
We change c to x and the old x becomes π₯ + β,
where π₯, π₯ + β β [π, π]
...
-Choose n such that the error bound is (not) met
...
Number representation
Error types:
A: Errors in data (partly because round-off
B: Round-off during calculations
1
...
5358 β 1
...
C: Truncation error (Discretization)
We have many ways to calculate these errors
...
:
Let π be an approximation of a
π β π: absolute error (|π β π|)
πβπ
π
: relative error
Error bound is the magnitude of admissible error
...
:
0
...
000004 = 0
...
So, there are 5 correct and 3 significant digits
2
(decimal) corresponding to round-off
...
001234 π€ππ‘β πππππ 0
...
06 β 10β4
1
1
2
2
Error is below β 10β4 but larger then β 10β5
...
i
...
, the error is between Β±
1
2
β 10βπ‘ with corresponding t
...
4 β 0
0
...
004 β 0
...
005 β 0
...
05 Β± 0
...
1
1
...
04 β 1
...
Theorem:
In addition and subtraction the bounds for the absolute errors are added up
...
Error of propagation: If π¦(π₯) is a smooth (differentiable), |π¦ β²(π₯)| can be
interpreted as the sensitivity of π¦(π₯) to errors in x
...
ππ¦
| β |βπ₯π |
ππ₯π