1-x
X
Gambar 1
Volume dari bagian bola yang tenggelam adalah
,
dimana dan
Untuk mencari kedalaman x, kita harus menyelesaikan persamaan dimana volume bagian
bola yang tenggelam sama dengan
atau
Yang dicari: kedalaman x dari persamaan (*), artinya dicari akar dari persamaan tersebut.
Kita gunakan metode numerik.
Metode menggunakan iterasi (Metode tidak langsung):
-
yang memenuhi
Gambar 2
Metode Bagidua (Bisection)
Tebakan awal berupa selang [a,b] yang memuat akar persamaan. Bagaimana
menentukannya?
x*
Akar dari
adalah
dimana kedua grafik berpotongan. Gunakan tebakan nilai
awal iterasi sesuai dengan gambar, misal
. Iterasi berhenti apabila
Jadi kriteria berhenti :
.
Banyak cara untuk menentukan grafik kedua (tunjukkan bahwa
1.
jadi
):
2.
jadi
3.
jadi
4. Dan lain-lain
Perhitungan : gunakan tebakan awal
Iterasi
0
1
2
x
0.75
0.73169
0.74405
dan
0.73169
0.74405
0.73573
Rumus 2
0.75
0.74084
0.73937
0.73913
Rumus 3
0.75
0.75916
0.77602
0.80719
0.86501
0.97320
1.17847
......
pada
.
8
9
10
11
12
0.73955
0.73877
0.73930
0.73891
0.73918
......
......
......
......
......
untuk semua
Rumus 1:
Rumus 2:
Rumus 3:
Perhatikan gambarnya dalam interval [0.75, 1].
Gradien:
<1
Gradien:
Gradien:
Metode Newton-Raphson
Tentukan tebakan awal
menyinggung
.
0.75
0.73911
0.73909
dengan gradien
. (Tunjukkan)
dan
0.01831
0.00005
0.00001
1.6816
1.67363
1.67361
0.73911
0.73909
0.73909
sehingga
dan
sehingga
dengan rumus
. Akibatnya
atau rumus
umumnya:
Laju Kekonvergenan
Terdapat 2 jenis kekonvergenan: quotient-convergence (q- convergence) dan rootconvergence (r- convergence).
1. quotient-convergence (q- convergence)
Perhitungan menggunakan perbandingan antara galat dari dua hasil iterasi terakhir
Misal x* adalah solusi eksak dan
adalah aproksimasi solusi dengan iterasi ke-n.
Galat pada iterasi ke-n adalah
. Suatu metode disebut q-konvergen
dengan orde-k apabila
Contoh:
Metode Bagi Dua pada iterasi ke-n mempunyai galat yang berada dalam interval
sehingga
untuk semua
di sekitar titik
tetap eksaknya.
Dalam Metode Newton-Raphson, galat pada iterasi ke-n adalah
karena itu
, oleh
This procedure is equivalent to substituting the negation of the variable for the variable itself:
For example, to find the number of negative roots of
equivalently ask how many positive roots there are for
Using Descartes' rule of signs on
, we
in
of g, and since
Example
The polynomial
has one sign change between the second and third terms (the sequence of pairs of successive
signs is ++, +, ). Therefore it has exactly one positive root. Note that the leading sign
needs to be considered although in this particular example it does not affect the answer. To
find the number of negative roots, change the signs of the coefficients of the terms with odd
exponents, to obtain a second polynomial
This polynomial has two sign changes (the sequence of pairs of successive signs is +, ++,
+), meaning that this second polynomial has two or zero positive roots; thus the original
polynomial has two or zero negative roots.
In fact, the factorization of the first polynomial is
So here, the roots are 1 (twice) and 1, the negation of the roots of the original polynomial.
Complex roots
Since any nth degree polynomial has exactly n roots, the minimum number of complex roots
is equal to
where p denotes the maximum number of positive roots, q denotes the maximum number of
negative roots (both of which can be found using Descartes' rule of signs), and n denotes the
degree of the equation. A simple example is the polynomial
If
, this has no sign changes, and the polynomial does not change when odd-powered
terms (of which there are none in this example) have their coefficients replaced by -x. Thus
the maximum number of positive roots is zero, as is the maximum number of negative roots;
so the minimum (and in this case exact) number of complex roots is
.