Answer:
f(x)=x^3 - 13x^2 + 40x + 17
Explanation:
x-0=0 x-5=0 x-8=0
x=0 x=5 x=8
y=x(x-5)(x-8)+b ==> b is what's going to be used to find the equation so that
y=17 when x=0
17=0(0-5)(0-8)+b ==> plugin 0 for x and 17 for y
17=0*(-5)*(-8)+b ==> simplify
17=0+b ==> anything multiplied by 0 is 0.
b=17
Hence, the equation is:
y=x(x-5)(x-8)+17 ==> expand this equation
y=x*(x-5)(x-8) + 17
y=x*(x(x - 8) - 5(x - 8)) + 17 ==> distribute x-8 to x and -5
y=x*(x*x - 8x - 5x - (8)(-5)) + 17 ==> distribution property
y=x*(x^2 - 13x - (-40)) + 17 ==> simplify
y=x*(x^2 - 13x + 40) + 17 ==> subtracting a negative number is equivalent to
adding a positive number
y=x^3 - 13x^2 + 40x + 17 ==> multiply x with x^2, 13x, and 40 using the
distribution property.
Answer: f(x)=x^3 - 13x^2 + 40x + 17