document.write( "Question 1164468: taxi fare depends on the distance covered during the trip a flagdown fare of 40 for the first 5kms increases by 8 per kilometer thereafter represent the amount a paid by a customer if the taxi covered x kilometer in a trip \n" ); document.write( "
Algebra.Com's Answer #788972 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the fare is 40 for the first 5 kilometers.
\n" ); document.write( "after the first 5 kilometers, the fare is an additional 8 per kilometer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this is a piecemeal type function.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = 40 for 0 <= x <= 5.
\n" ); document.write( "y = 40 + 8 * (x-5) for x > 5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you traveled 15 kilometers, then the cost would be:
\n" ); document.write( "40 + 8 * 10 = 120\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );