Diketahui f(x) = px+q,f(3) = 1 dan f(-1) = -7. nilai f (6) adalah
f(x) = px + q
f(3) = 1
f(3) = 1
p(3) + q = 1
3p + q = 1
q = 1 – 3p
f(–1) = –7
f(-1) = -7
p(-1) + q = -7
-p + q = -7
-p + (1 – 3p) = -7
-p + 1 – 3p = -7
-p – 3p = -7 – 1
-p – 3p = -8
-4p = -8
p = -8/-4
p = 2
Masukkan nilai p = 2 ke persamaan q = 1 – 3p
q = 1 – 3p
q = 1 – (3 × 2)
q = 1 – 6
q = -5
Mencari hasil f(6)
f(6) = p(6) + q
f(6) = 6p + q
f(6) = (6 × 2) + (-5)
f(6) = -12 – 5
f(6) = -17
Jadi, nilai f(6) adalah -17