document.write( "Question 1176848: Find a polynomial of the form f(x)=ax3+bx2+cx+d such that f(0)=2, f(2)=−2, f(−3)=−2, and f(−5)=7.
\n" ); document.write( "Answer: f(x)=
\n" ); document.write( "

Algebra.Com's Answer #805062 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
f(x)=ax^3+bx^2+cx+d, and d=2, when x=0
\n" ); document.write( "f(2)=8a+4b+2c+2=-2 or 8a+4b+2c+4=0 or 4a+2b+c+2=0
\n" ); document.write( "f(-3)=-27a+9b-3c+2=-2 or -27a+9b-3c+4=0
\n" ); document.write( "f(-5)=-125a+25b-5x+2=7 or -25a+5b-c-1=0, collecting terms and dividing by 5\r
\n" ); document.write( "\n" ); document.write( "from the first and last
\n" ); document.write( "4a+2b+c=-2
\n" ); document.write( "-25a_5b-c=1
\n" ); document.write( "-21a+7b=-1\r
\n" ); document.write( "\n" ); document.write( "from the second and last
\n" ); document.write( "-27a+9b-3c=-4
\n" ); document.write( "75a-15b+3c=-3
\n" ); document.write( "48a-6b=-7\r
\n" ); document.write( "\n" ); document.write( "There are now two equations in 2 unknowns.
\n" ); document.write( "You will obtain a=-11/42 (keep it in fractional form)
\n" ); document.write( "b=-13/14
\n" ); document.write( "and c=19/21
\n" ); document.write( "and this is one form of the desired polynomial.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );