document.write( "Question 776566: If f(2)=1 and f(4)=-2 then what is f(x)?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I just don't know how to do it....
\n" ); document.write( "

Algebra.Com's Answer #473631 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
we are given two points and need to wrte the equation for the line
\n" ); document.write( "the two points are (2,1) and (4,-2)
\n" ); document.write( "the standard form for a line is y = mx +b
\n" ); document.write( "m = 1 - (-2) / 2 - 4 = -(3/2)
\n" ); document.write( "1 = -(3/2)*2 +b
\n" ); document.write( "1 = -3 + b
\n" ); document.write( "b = 4
\n" ); document.write( "the function is f(x) = -(3/2)x +4
\n" ); document.write( "
\n" ); document.write( "
\n" );