Professional Documents
Culture Documents
Part Two: Roots of Equations
Part Two: Roots of Equations
Part Two
Roots of Equations
1
Mech300 Numerical Methods, Hong Kong University of Science and Technology.
Motivation
Analytical solution:
− b ± b 2 − 4ac
f ( x ) = ax 2 + bx + c = 0 x=
2a
2
Mech300 Numerical Methods, Hong Kong University of Science and Technology.
Approach 1:
try to represent c as an explicit function c = f(v, m, g, t)
(fails most of time)
Approach 2:
express the formula in an explicit form and solve for the zero root
gm
f (c )= ( 1 − e −( c / m )t ) − v = 0
c
3
Mech300 Numerical Methods, Hong Kong University of Science and Technology.
4
Mech300 Numerical Methods, Hong Kong University of Science and Technology.
Overall Structure