When the polynomial f(x) is divided by x3 - 2, the quotient and remainder are x2 + 4x - 1 and x, respectively. Determine the value f(3).
f(x)x3−2=x2+4x−1+xx3−2|⋅(x3−2)f(x)=(x2+4x−1)⋅(x3−2)+xf(3)=(3⋅3+4⋅3−1)⋅(3⋅3⋅3−2)+3f(3)=(9+12−1)⋅(27−2)+3f(3)=20⋅25+3f(3)=500+3f(3)=503