document.write( "Question 172454: We don't use any type of algebra textbooks in my algebra 1 class so how do i write an equation based on the graph? \n" ); document.write( "
Algebra.Com's Answer #129789 by actuary(112)\"\" \"About 
You can put this solution on YOUR website!
For purposes of my response to your question, I am ssuming that the graph is a straight line. The standard form for the equation of a straight line is
\n" ); document.write( "y = m*x + b where m is the slope of the line and b is the y-intercept.\r
\n" ); document.write( "\n" ); document.write( "To calculate the slope of the line, select two from from the graph of the line. The points should be in ordered pair form i.e. {x1,y1}. The slope \"m\" is calculated from the two pairs of points that you have selected. \r
\n" ); document.write( "\n" ); document.write( "m = (y1 - y1)/(x2-x1)\r
\n" ); document.write( "\n" ); document.write( "The y-intercept \"B\" is determined from the from the graph by selecting the value for \"y\" when x = 0.\r
\n" ); document.write( "\n" ); document.write( "\"+graph%28+200%2C+200%2C+-10%2C+10%2C+-10%2C+10%2C+2x-5+%29+\" \r
\n" ); document.write( "\n" ); document.write( "In this case, the slope is 2 and the y intercept is -5
\n" ); document.write( "
\n" );