p(t) = 2 + t + 2t2 – t3
Plug t = 0 we get
=> p(0) = 2 + 0 +2(0)2 – (0)3
=> p(0) = 2 + 0 +0 – 0
=> p(0) = 2
p(t) = 2 + t + 2t2 – t3
Plug t = 1 we get
=> p(1) = 2 + 1 +2(1)2 – (1)3
=> p(1) = 2 + 1 + 2 – 1
=> p(1) = 4
p(t) = 2 + t + 2t2 – t3
Plug t = 2 we get
=> p(2) = 2 + 2 +2(2)2 – (2)3
=> p(2) = 2 + 2 + 8 – 8
=> p(2) = 4