document.write( "Question 1203754: A gym charges $5/ hour for the firs four hours of use in a week, and a total flat rate of $20 after that. a) how much would you send going to the gym for 3 hours in a week? 5 hours in a week? b)write a piecewise function that models the total cost of the gym in a week according to the number of hours spent there. c) is the function continuous or discontinuous? Explain \n" ); document.write( "
Algebra.Com's Answer #839578 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
if the intent is that the total cost for the week will never be more than 20 dollars, then the equation is:
\n" ); document.write( "y = 5x for x = 1 to 3.
\n" ); document.write( "y = 20 for x >= 4.
\n" ); document.write( "presumably you are billed at the end of the week.
\n" ); document.write( "the hours are tallied up at the end of the week.
\n" ); document.write( "if you went for less than 3 hours, you pay by the hours that you went.
\n" ); document.write( "if you went for 4 hours or more, you pay 20.00.
\n" ); document.write( "the maximum you pay for the week is 20.00.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );