document.write( "Question 644067: The monthly cost of driving a car depends on the number of miles driven. Lynn found that in May her driving cost was $350 for 420 mi and in June her cost was $470 for 900 mi. Assume that there is a linear relationship between the monthly cost C of driving a car and the distance driven d.
\n" ); document.write( "(a) Find a linear equation that relates C and d.
\n" ); document.write( "

Algebra.Com's Answer #404785 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
The general form of the equation is
\n" ); document.write( "\"+C+=+m%2Ad+%2B+b+\" where \"+m+\" is the slope
\n" ); document.write( "Plot \"+C+\" on the vertical axis
\n" ); document.write( "Plot \"+d+\" on the horizontal
\n" ); document.write( "Slope is ( change in C ) / ( change in d )
\n" ); document.write( "\"+%28+470+-+350+%29+%2F+%28+900+-+420+%29+\"
\n" ); document.write( "\"+120+%2F+480+=+1%2F4+\"
\n" ); document.write( "------------------
\n" ); document.write( "\"+m+=+1%2F4+\"
\n" ); document.write( "Now just plug in one of the 2 given points
\n" ); document.write( "to find \"+b+\", the intercept on the vertical axis
\n" ); document.write( "\"+470+=+%281%2F4%29%2A900+%2B+b+\"
\n" ); document.write( "\"+b+=+470+-+225+\"
\n" ); document.write( "\"+b+=+245+\"
\n" ); document.write( "------------
\n" ); document.write( "The equation is \"+C+=+%281%2F4%29%2Ad+%2B+245+\"
\n" ); document.write( "check answer:
\n" ); document.write( "\"+350+=+%281%2F4%29%2A420+%2B+245+\"
\n" ); document.write( "\"+350+=+105+%2B+245+\"
\n" ); document.write( "\"+350+=+350+\"
\n" ); document.write( "Here's the plot:
\n" ); document.write( "\"+graph%28+400%2C+400%2C+-100%2C+1000%2C+-100%2C+500%2C+%281%2F4%29%2Ax+%2B+245+%29+\"
\n" ); document.write( "
\n" );