Tugas 1 Metode Numerik

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Muhammad Akil Haq

102218009
ME1 2018

Tugas 1 Metode Numerik


𝑅 = 5 𝑚 + 2 × 009 𝑐𝑚 = 5,18 𝑚
[3𝑅 − ℎ]
𝑉 = 𝜋. ℎ2
3
𝑓(ℎ) = 𝜋. ℎ − 15,54 𝜋. ℎ2 + 300
3

Toleransi = 10−6

False Position Method

xL xU f(xL) f(xU) xR f(xR)


0 5,18 300 -573,3114366 1,779433928 163,1168766
0 1,779433928 300 163,1168766 3,899897702 -256,177096
3,899897702 1,779433928 -256,177096 163,1168766 2,604352601 24,3629412
3,899897702 2,604352601 -256,177096 24,3629412 2,716861637 2,642262259
3,899897702 2,716861637 -256,177096 2,642262259 2,72893914 0,275207896
3,899897702 2,72893914 -256,177096 0,275207896 2,730195737 0,028541537
3,899897702 2,730195737 -256,177096 0,028541537 2,730326042 0,002958691
3,899897702 2,730326042 -256,177096 0,002958691 2,73033955 0,000306691
3,899897702 2,73033955 -256,177096 0,000306691 2,73034095 3,17908E-05
3,899897702 2,73034095 -256,177096 3,17908E-05 2,730341095 3,29535E-06
3,899897702 2,730341095 -256,177096 3,29535E-06 2,73034111 3,41587E-07
STOP STOP

Pembuktian :
h = 2,730341 m
[3(5,14) − 2,730341]
𝑉 = 𝜋. 2,7303412
3
3 3
𝑉 = 99,9999 𝑚 ≈ 100 𝑚
Jadi, ketinggian air h pada tangki dengan menggunakan False Position Methode
adalah 2,730341 m.

Bisection Method
xL xU xR f(xL) f(xR) f(xL)*f(xR)
0 5,18 2,59 300 27,09017605 8127,052815
Continue 2,59 5,18 3,885 27,09017605 -252,6423935 -6844,126918
Continue 2,59 3,885 3,2375 27,09017605 -105,1005199 -2847,191588
Continue 2,59 3,2375 2,91375 27,09017605 -36,76645854 -996,0098345
Continue 2,59 2,91375 2,751875 27,09017605 -4,238485869 -114,8213284
Continue 2,59 2,751875 2,6709375 27,09017605 11,58075606 313,7247205
Continue 2,6709375 2,751875 2,71140625 11,58075606 3,709238198 42,95578275
Continue 2,71140625 2,751875 2,731640625 3,709238198 -0,25517614 -0,946509086
Continue 2,71140625 2,731640625 2,721523438 3,709238198 1,729402713 6,414766603
Continue 2,721523438 2,731640625 2,726582031 1,729402713 0,737704987 1,275789006
Continue 2,726582031 2,731640625 2,729111328 0,737704987 0,241412196 0,178090981
Continue 2,729111328 2,731640625 2,730375977 0,241412196 -0,006845048 -0,001652478
Continue 2,729111328 2,730375977 2,729743652 0,241412196 0,117292808 0,028315914
Continue 2,729743652 2,730375977 2,730059814 0,117292808 0,055226188 0,006477635
Continue 2,730059814 2,730375977 2,730217896 0,055226188 0,024191147 0,001335985
Continue 2,730217896 2,730375977 2,730296936 0,024191147 0,008673194 0,000209815
Continue 2,730296936 2,730375977 2,730336456 0,008673194 0,000914109 7,92825E-06
Continue 2,730336456 2,730375977 2,730356216 0,000914109 -0,00296546 -2,71075E-06
Continue 2,730336456 2,730356216 2,730346336 0,000914109 -0,001025673 -9,37577E-07
STOP 2,730336456 2,730346336 2,730341396 0,000914109 -5,57816E-05 -5,09905E-08

Karena nilai ℎ sama dengan nilai pada False Position Method yaitu 2,730341 m, maka
𝑉 = 99,9999 𝑚3 ≈ 100 𝑚3. Jadi, ketinggian air h pada tangki dengan menggunakan
Bisection Method sama dengan False Position Methode yaitu 2,730341 m.

You might also like