You are on page 1of 1

interpolasi linier

f(x) = ln(x)
galat = ABS(f(eksak)-f1(xi))/f(eksak)*100%
f(eksak) = ln(2) = 0,69314718

i xi f(xi) f1(x) titik interpolasi f(eksak) galat


0 1 0 2 0.6931471806
1 6 1.791759469 0.3583518938 48.30
2 4 1.386294361 0.4620981204 33.33
3 3 1.098612289 0.5493061443 20.75
4 2.85 1.047318994 0.5661183753 18.33
5 2.7 0.993251773 0.5842657488 15.71
6 2.55 0.936093359 0.6039311995 12.87
7 2.4 0.875468737 0.6253348124 9.78
8 2.25 0.810930216 0.648744173 6.41
9 2.2 0.78845736 0.6570478003 5.21
10 2.15 0.765467842 0.6656242106 3.97
11 2.1 0.741937345 0.6744884952 2.69
12 2.05 0.717839793 0.6836569459 1.37
13 2 0.693147181 0.6931471806 0.00

You might also like