Professional Documents
Culture Documents
Bisection Method
Bracketing and finding the mid. of each the bracket each time. Each time estimate is taken as
halfway between L and R bracket. Depending on whether estimate is > or < 0. Always converges as
long as initial brackets are valid. Always converges at a useful rate (half error per step).
Regula Falsi Method
Estimates slope over bracket by
( )
found by extending it form the LHS or RHS bracket until f(x) = 0 according to the approximated f.
Iterated values are: =
. We choose next bracket in the same way we choose next
bracket for bisection. Always converges if initial brackets are valid. Doesnt always converge quickly
though.
Secant method
Root finding method that uses succession of roots of secant lines to better approximate function f.
Effectively draws a line from a to b, and asks, Where on this line does the zero lie?.
Fixed Point Iteration
Fixed point iteration finds values of functions at specific fixed points by using the formula
=
( ). Fixed points are points where the function f(x) = x. Used for implicit functions (e.g. finding
channel depth using Darcy-Weisbach).
Newton-Rhapson
Method for finding roots of functions. Extends from point given to zero according to derivative at
point given. In other words:
of the x vector.
Forward/Backward Differentiation
Estimation of a derivative by projecting forward some from a given . Then the estimation for
( ) is
( )=
( )
difference -ve).
Implicit/Explicit Euler (IE and EE)
) = ( ) + ( ). The difference between EE and IE is
Explicit Euler is formulated as (
that while EE takes the value of the derivative at the start of the time step, IE takes the derivative at
)= (
) + ( ). This
the end of the time step. In other words, IE is formulated as: (
). While EE
makes IE implicit as the value of the function at (
) depends on the value of (
is much easier to deal with, IE is more stable. EE is sometimes unstable, but EE is normally OK (but
not always).
Bayes Theorem
Bayes theorem concerns dependent probability. Specifically:
( | )=
( | ) ( )
( )
Useful Formulae
, where ( ) is
!
!(
)!
is the
Poisson Distribution
The Poisson distribution is a distribution describing occurrences of discrete events with a given rate,
. Poisson is used for modelling things like the number of calls a call centre receives, or the number
of letters received in a mailbox numbers of events independent of one another where multiple
occurrences are possible. The PMF is given by ( ) =
number of events, and is the exponential function.
(
=
( )
)
( )
( )
)
)
[ ( ) + 4 ( ) + ( )]
3
( )=
(
(
) = (
)=
( | )=
Bayes Theorem
(
( )
( )
!
( )+ ( + )
( )=
Explicit Euler
) + (
) + (
( | ) ( )
( )
Forward/Backward differentiation
= , 2 , 3
( )
Implicit Euler
= (
) (
Newtons method
Taylor Series
Bayesian Inference
Process of using Bayes Theorem to inform further given information.
Secant Method
is the
+ x,
( )
=
=