document.write( "Question 1143457: Evaluate the piecewise function at the given values of the independent variable.\r
\n" ); document.write( "\n" ); document.write( "g(x)={ x+5 ifx greater or equal to -5
\n" ); document.write( " -(x+5) if x<-5\r
\n" ); document.write( "\n" ); document.write( "g(0)=\r
\n" ); document.write( "\n" ); document.write( "g(-7)=\r
\n" ); document.write( "\n" ); document.write( "g(2)=
\n" ); document.write( "

Algebra.Com's Answer #764260 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "
\n" ); document.write( "g(0)=
\n" ); document.write( "
\r\n" );
document.write( "Ask yourself: What is x?\r\n" );
document.write( "Answer: It's 0, because in g(0),  0 replaces x in g(x).\r\n" );
document.write( "Ask yourself: What is the value of x?\r\n" );
document.write( "Answer: It's 0.\r\n" );
document.write( "Ask yourself: Which one of these, x < -5 or x > -5, does 0 fall\r\n" );
document.write( "        under?\r\n" );
document.write( "Answer: 0 falls in x > -5 because 0 is greater than any negative \r\n" );
document.write( "        number.\r\n" );
document.write( "Ask yourself: What expression does the piece-wise function above, g(x), \r\n" );
document.write( "        say to use if x > -5?\r\n" );
document.write( "Answer: It says to use x+5 if x > -5.\r\n" );
document.write( "Ask yourself: So what do I do?\r\n" );
document.write( "Answer: You do exactly what it says to do, use x+5.\r\n" );
document.write( "Ask yourself: How do I use x+5?\r\n" );
document.write( "Answer: You substitute 0 for x in x+5, getting 0+5, or 5.\r\n" );
document.write( "\r\n" );
document.write( "-------------------------------------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "

\n" ); document.write( "g(-7)=
\n" ); document.write( "
\r\n" );
document.write( "Ask yourself: What is x?\r\n" );
document.write( "Answer: It's -7, because in g(-7),  -7 replaces x in g(x).\r\n" );
document.write( "Ask yourself: What is the value of x?\r\n" );
document.write( "Answer: It's -7.\r\n" );
document.write( "Ask yourself: Which one of these, x < -5 or x > -5, does -7 fall\r\n" );
document.write( "        under?\r\n" );
document.write( "Answer: -7 falls in x < -5 because -7 is further to the left on the number\r\n" );
document.write( "        line than -5.\r\n" );
document.write( "Ask yourself: What expression does the piece-wise function above, g(x), \r\n" );
document.write( "        say to use if x < -5?\r\n" );
document.write( "Answer: It says to use -(x+5) if x > -5.\r\n" );
document.write( "Ask yourself: So what do I do?\r\n" );
document.write( "Answer: You do exactly what it says to do, use -(x+5).\r\n" );
document.write( "Ask yourself: How do I use -(x+5)?\r\n" );
document.write( "Answer: You substitute -7 for x in -(x+5), getting -(-7+5), or -(-2) or 2.\r\n" );
document.write( "\r\n" );
document.write( "----------------------------------------\r\n" );
document.write( "

\n" ); document.write( "g(2)=
\n" ); document.write( "
\r\n" );
document.write( "Ask yourself: What is x?\r\n" );
document.write( "Answer: It's 2, because in g(2),  2 replaces x in g(x).\r\n" );
document.write( "Ask yourself: What is the value of x?\r\n" );
document.write( "Answer: It's 2.\r\n" );
document.write( "Ask yourself: Which one of these, x < -5 or x > -5, does 2 fall\r\n" );
document.write( "        under?\r\n" );
document.write( "Answer: 2 falls in x > -5 because any positive number is greater than\r\n" );
document.write( "        any negative number.\r\n" );
document.write( "Ask yourself: What expression does the piece-wise function above, g(x), \r\n" );
document.write( "        say to use if >?\r\n" );
document.write( "Answer: It says to use x+5 if x > -5.\r\n" );
document.write( "Ask yourself: So what do I do?\r\n" );
document.write( "Answer: You do exactly what it says to do, use x+5.\r\n" );
document.write( "Ask yourself: How do I use x+5?\r\n" );
document.write( "Answer: You substitute 2 for x in x+5, getting 2+5, or 7.\r\n" );
document.write( "\r\n" );
document.write( "-------------------------------------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );