document.write( "Question 155519: Please help me graph this: f(x)= { 1/2x-5, if x<-2 5x+4, if x>-2 \n" ); document.write( "
Algebra.Com's Answer #114672 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
OK, let's pick a range from -5 to 5.
\n" ); document.write( "From (-5,-2), the function is
\n" ); document.write( "\"f%5B1%5D%28x%29=x%2F2-5\"
\n" ); document.write( "From (-2,5), the function is
\n" ); document.write( "\"f%5B2%5D%28x%29=5x%2B4\"
\n" ); document.write( "Since for a straight line, we only need two points we will use -5,-2,and 5.
\n" ); document.write( "\"f%5B1%5D%28-5%29=-5%2F2-5=-15%2F2\"
\n" ); document.write( "\"f%5B1%5D%28-2%29=-2%2F2-5=-6\"
\n" ); document.write( "Plot those two points, (-5,-15/2) and (-2,-6) and draw the straight line connecting them.
\n" ); document.write( "
\n" ); document.write( "Next,
\n" ); document.write( "\"f%5B2%5D%28-2%29=5%28-2%29%2B4=-6\"
\n" ); document.write( "\"f%5B2%5D%285%29=5%285%29%2B4=29\"
\n" ); document.write( "Plot those and connect those points.
\n" ); document.write( "Note the change in scale of the graph.
\n" ); document.write( "
\n" ); document.write( "
\n" );