7. Integrasi

download 7. Integrasi

of 19

Transcript of 7. Integrasi

  • 8/14/2019 7. Integrasi

    1/19

  • 8/14/2019 7. Integrasi

    2/19

  • 8/14/2019 7. Integrasi

    3/19

    Bina Nusantara

    INTEGRASI NUMERIKPengertian:

    Secara matematika merupakan anti derivative

    Secara praktis integral suatu fungsi pada batas tertentu dapat

    diartikan sebagai luas daerah dibawah kurva dengan batas

    yang ditentukan dan sumbu x

    !!

    dxxgxIxgdx

    xdI

    )()()(

    )(

    !2

    1

    )()(

    x

    x

    dxxgxIx

    g(x)

    x1 x2

    y

  • 8/14/2019 7. Integrasi

    4/19

    Bina Nusantara

    Numerical Integration

    Often g(x) cannot be integrated analytically to give aclosed form

    expression forI(x), e.g. solution to y =(1+xy).

    Motivates need to find approximate solutions forI(x).

    In the differentiallimit, an integral is equivalent to a summation

    operation:

    Approximate methods for determining integrals are mostly basedon idea ofarea between integrand and axis.

    Area determined by the summation of the areas of strips of

    finite width (x.

    Particular method depends on how strips are determined.

    (! p(2

    1

    2

    1

    )(lim)(0

    x

    xx

    x

    x

    xxgdxxg

  • 8/14/2019 7. Integrasi

    5/19

    Bina Nusantara

    Numerical Integration by Rectangular Method

    g(x) is approximated byaconstant value over the finite distance (x.

    Areas of rectangles summed to give approximation of integral.

    x

    g(x)

    x1 x2

    ))()()(()( 211

    2

    1

    xxgxxgxgxdxxg

    x

    x

    (((}

    -

    n

    xxx 12

    !(

  • 8/14/2019 7. Integrasi

    6/19

    Bina Nusantara

    Integration as a Weighted Sum of Sample Function Evaluations

    Think of integration as the weighted sum of function evaluations at

    a number of discrete sample points, c.f. interpolation.

    e.g. rectangular method:

    Weights for rectangular method sum to give integration interval:

    )()()()( 21211

    2

    1

    xxgwxxgwxgwdxxg n

    x

    x

    ((}

    -

    xwwwn

    (!!! -21

    12xxxn !(

  • 8/14/2019 7. Integrasi

    7/19

    Bina Nusantara

    Contoh

    Hitung untuk n=8, maka1

    0

    2

    dxex 125,08

    )10(!

    !(x

    36232,1)...(125,0)()875,0()25,0()125,0(0 22

    !$ eeeefI

    Latihan:

    Menggunakan Metode Rectangular hitung hasil integral di atas

    untuk n=10

  • 8/14/2019 7. Integrasi

    8/19

  • 8/14/2019 7. Integrasi

    9/19

    Bina Nusantara

    Formula Trapezoida Komposit dan Error

    Rumus Komposit

    Error

    !

    !1

    1

    21)](2)()()[

    2()(

    n

    j

    jxfxfxfh

    fT

    )('')()12

    1()(

    12

    2 FfxxhfRT !

    Dimana: x1 F x2

  • 8/14/2019 7. Integrasi

    10/19

    Bina Nusantara

    Contoh:

    1

    0

    2

    dxex

    !

    !1

    1

    21)](2)()()[

    2()(

    n

    j

    jxfxfxfhfT

    125,08

    )10(!

    !h

    )]...(2[)(2222)875,0()375,0()25,0()125,0(10

    2

    125,0eeeeeefI !

    Hitung Untuk n=8

    I(f)= 1,469712

  • 8/14/2019 7. Integrasi

    11/19

    Bina Nusantara

    Metode Simpson

    Simpsons method top of each pair of strips varies quadratically :

    Weighted sum of function evaluations at sample points.

    (

    (

    ((((

    })()

    2(4)(2

    )2

    3(4)(2)2

    (4)(

    6)(

    222

    11112

    1 xgx

    xgxxg

    xxgxxgxxgxgx

    dxxg

    x

    x -

    Exact for

    polynomials up to

    order3

    x

    g(x)

    Weights sum to give x2-x1.

    (xEvaluate in centre

    also 3 points to get

    polynomial

  • 8/14/2019 7. Integrasi

    12/19

    Bina Nusantara

    Rumus Simpsons KompositIntegral dari

    )()()( fsdxxffIb

    a}!

    !

    !

    !

    m

    j

    j

    m

    j

    xj xfxfbfafhfS1

    12

    1

    1

    )](4)(2)()()[3

    ()(

    Error: Rs(f)=-(h4/180)(b-a)f(4)(F)

    Dimana n = 2m, h=(b-a)/n, aF b

  • 8/14/2019 7. Integrasi

    13/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    14/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    15/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    16/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    17/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    18/19

    Bina Nusantara

  • 8/14/2019 7. Integrasi

    19/19

    Bina Nusantara