ESO 208A: Computational Methods in Engineering: Department of Civil Engineering IIT Kanpur
ESO 208A: Computational Methods in Engineering: Department of Civil Engineering IIT Kanpur
Methods in Engineering
Arghya Das
Acknowledgement
Profs. Abhas Singh and Shivam Tripathi (CE)
Roots of Nonlinear
Equations
Roots of Equations
5
Graphical Method
Involves plotting f(x) curve and finding the
solution at the intersection of f(x) with x-axis.
6
Bracketing Methods
Intermediate value theorem: Let f be a continuous fn on [a, b]
and let f(a) < s < f(b), then there exists at least one x such that
a < x < b and f(x) = s.
Bracketing methods are application of this theorem with s = 0
Nested interval theorem: For each n, let In = [an, bn] be a
sequence of (non-empty) bounded intervals of real numbers
such that and ,
then contains only one point.
This guarantees the convergence of the bracketing methods to the root.
In bracketing methods, a sequence of nested interval is generated
such that each interval follows the intermediate value theorem with s
= 0. Then the method converges to the root by the one point specified
by the nested interval theorem. Methods only differ in ways to
generate the nested intervals.
7
Intermediate Value Theorem
8
Mean Value Theorem
If f(x) is defined and continuous on the interval [a,b] and
differentiable on (a,b), then there is at least one number c in the
interval (a,b) (that is a < c < b) such that
11
Regula-Falsi or Method of False Position
Principle: In place of the mid point, the function is assumed to be
linear within the interval and the root of the linear function is chosen.
Initialize: Choose a0 and b0 such that, f(a0)f(b0) < 0. This is done by
trial and error.
Iteration step k:
A straight line passing through two points (ak, f(ak)) and (bk, f(bk)) is
given by:
y = f(x)
f(ak)
mk+1
bk
ak
f(bk)
13