Professional Documents
Culture Documents
GE 122-Lec7-Root Finding-Handouts
GE 122-Lec7-Root Finding-Handouts
GE 122-Lec7-Root Finding-Handouts
Ransie Apura
Assistant Professor
UPD DGE
1
17/10/2021
2
17/10/2021
3
17/10/2021
𝑥1 𝑥2
−
4
17/10/2021
RESOLUTION: Use ISM for bracketing roots only and not for finding
it.
Once potential root of f(x)=0 is bracketed, use other methods for
closing in.
UP Diliman Department of Geodetic Engineering
RJAA | GE 122: Mathematical Methods in Geodetic Engineering 9
10
5
17/10/2021
11
12
6
17/10/2021
13
14
7
17/10/2021
15
16
8
17/10/2021
17
18
9
17/10/2021
19
20
10
17/10/2021
𝑓(𝑥𝑖 )
= [𝑓𝑟𝑜𝑚 𝑡ℎ𝑒 𝑟𝑖𝑔ℎ𝑡 𝑡𝑟𝑖𝑎𝑛𝑔𝑙𝑒 𝑓𝑜𝑟𝑚𝑒𝑑]
𝑥𝑖 − 𝑥𝑖+1
𝑓 𝑥𝑖 𝑓 𝑥𝑛−1
𝑥𝑖+1 = 𝑥𝑖 − 𝑜𝑟 𝑥𝑛 = 𝑥𝑛−1 −
𝑓 ′ 𝑥𝑖 𝑓 ′ 𝑥𝑛−1
UP Diliman Department of Geodetic Engineering
RJAA | GE 122: Mathematical Methods in Geodetic Engineering 21
21
22
11
17/10/2021
Step 1: Identify a suitable 𝑥0 = 0.6 (root lies close to 0.7 and 0.6 is a
close guess).
Step 2: Given 𝑓 𝑥 , solve for 𝑓 ′ 𝑥 = 3𝑥 2 − 20 𝑥 .
𝑓 𝑥𝑖
Step 3: Compute for the 1st iteration of root 𝑥𝑖+1 = 𝑥𝑖 − ′
𝑓 𝑥𝑖
𝑓 𝑥0 0.6 3 − 10 0.6 2 + 5
𝑥1 = 𝑥0 − ′ = 0.6 − = 0.747985
𝑓 𝑥0 3 0.6 2 − 20 0.6
23
𝑓 𝑥1 0.747985 3 − 10 0.747985 2 + 5
𝑥2 = 𝑥1 − = 0.747985 − = 0.734708
𝑓 ′ 𝑥1 3 0.747985 2 − 20 0.747985
24
12
17/10/2021
25
3 2
+2 17 Compute for succeeding iterations. Check if resulting
2
𝑥2 = 3 = values converge to 1.414214. Stop at set/desired
2 12 tolerance.
2
26
13
17/10/2021
27
28
14
17/10/2021
29
30
15
17/10/2021
31
REFERENCES
• Kreyszig, Erwin (2011). “Advanced Engineering Mathematics,
10th Edition.” John Wiley and Sons.
• Chapra, S. and Canale, R. (2010). “Numerical Methods for
Engineers, 6th Edition.”
• Burden, R. and Faires, J. (2011). “Numerical Analysis, 9th Edition.”
32
16
17/10/2021
Questions? ☺
raapura@up.edu.ph
33
17