document.write( "Question 988860: Draw the graph of a function p that fits the following description: p has a domain of all real numbers and a range of -2\n" ); document.write( "
Algebra.Com's Answer #609341 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "The other tutor thought you only said \"a range of -2\" because you used < without\r\n" );
document.write( "skipping a space after it.  Of course you did not know not to do that.  This\r\n" );
document.write( "site uses HTML and when you type anything after the symbol < without skipping a\r\n" );
document.write( "space after it, the HTML thinks it's an HTML tag and doesn't print it. So\r\n" );
document.write( "hereafter, if you submit a problem that involves the symbol \" < \", always skip a\r\n" );
document.write( "space after it, so what comes after it will not be deleted. \r\n" );
document.write( "\r\n" );
document.write( "I looked to see what you had typed and was able to answer your question.\r\n" );
document.write( "What you typed was this:
Draw the graph of a function p that fits the following description: p has a domain of
\n" ); document.write( "all real numbers and a range of -2< y ≤ 5, p(-1)=p(4), and p is discontinuous at x=2.
\r\n" );
document.write( "This would be a piecewise function.  Here is an equation of such a function:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "You weren't asked for the equation but only the graph.  But this is the\r\n" );
document.write( "equation for such a function p(x)\r\n" );
document.write( "\r\n" );
document.write( "Here's its graph, and its explanation below the graph:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Notice that its domain is all real numbers, because there is no value of\r\n" );
document.write( "x for which we cannot find a value for p(x).  Notice that the graph approaches\r\n" );
document.write( "the green line y = -2 on the left as a horizontal asymptote, which means the\r\n" );
document.write( "graph never quite gets as low as -2 but it does reach 5 at x=0, so its range is\r\n" );
document.write( "-2 < y ≤ 5.  The graph goes only as high as 5 and not as low as -2. \r\n" );
document.write( "\r\n" );
document.write( "Notice that it is discontinuous at x=2.  It does not include the point where the\r\n" );
document.write( "open circle is drawn but it \"jumps\" up to the point (2,1.5) where there is a\r\n" );
document.write( "closed circle.  Notice that there are also points marked at (-1,1.5) and (4,1.5)\r\n" );
document.write( "which shows that p(-1) = p(4) = 1.5.\r\n" );
document.write( "\r\n" );
document.write( "So this graph meets all your requirements.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );