document.write( "Question 1167363: Overtime function:
\n" );
document.write( " You have a job where you make $10 per hour.
\n" );
document.write( " After you work 40 hours you get paid time and one half.
\n" );
document.write( " You may only work a maximum of 60 hours.\r
\n" );
document.write( "\n" );
document.write( "Write a piecewise function that represents your pay for up to 60 hours. \n" );
document.write( "
Algebra.Com's Answer #791982 by Theo(13342)![]() ![]() You can put this solution on YOUR website! y = 10 * x for x <= 40 \n" ); document.write( "y = 400 + 15 * (x - 40) for 40 < x <= 60\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "if you worked less than or equal to 40 hours, your pay is 10 * the number of hours you worked.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "if you worked more than 40 hours and less than or equal to 60 hours, your pay is 400 + 15 * (the number of hours worked minus 40).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you worked 35 hours. \n" ); document.write( "your pay is 10 * 35 = 350 dollars.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you worked 47 hours. \n" ); document.write( "your pay is 400 + (47 - 40) = 7 * 15 = 400 + 105 = 505 dollars. \n" ); document.write( "note that the 400 dollars covers the first 40 hours at 10 dollars an hour.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you worked 60 hours. \n" ); document.write( "your pay is 400 + (60 - 40) * 15 = + 20 * 15 = 300 = 700. \n" ); document.write( "note that the 400 dollars covers the first 40 hours at 10 dollars an hour. \n" ); document.write( "then you get 15 dollars for the next 20 hours.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |