document.write( "Question 1143086: The flat rate of taxis is 45 pesos. For every half-kilometer,
\n" ); document.write( "2 pesos and 50 centavos are added to the fare. What is the
\n" ); document.write( "equation for the total fare if k is the distance traveled in
\n" ); document.write( "kilometers and t is the cost?\r
\n" ); document.write( "\n" ); document.write( "Thank you in advance!
\n" ); document.write( "

Algebra.Com's Answer #763857 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the flat rate is 45 pesos.
\n" ); document.write( "there is an additional charge of 2 pesos and 50 centavos for each half kilometer traveled.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "t is the total cost.
\n" ); document.write( "k is the number of kilometers traveled.
\n" ); document.write( "2 * k is the number of half kilometers traveled.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there are 100 centavos to 1 peso.
\n" ); document.write( "therefore 50 centavos is equal to .5 pesos.
\n" ); document.write( "this means the additional charge for each half-kilometer is 2.5 pesos.
\n" ); document.write( "this means the additional charge for each kilometer is 5 pesos.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula becomes t = 45 + 5 * k
\n" ); document.write( "t is the total cost.
\n" ); document.write( "k is the number of kilometers.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "without any rounding or truncating of kilometers, the formula would work like this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you get in the taxi and go for 20.5 kilometers.
\n" ); document.write( "the total charge is 45 + 5 * 20.5 = 147.5 pesos.
\n" ); document.write( "that would be 147 pesos and 50 centavos.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "using another example, the formula would work like this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you get in the taxi and go for 20.5436 kilometers.
\n" ); document.write( "the total charge is 45 + 5 * 20.5436 = 147.718 pesos.
\n" ); document.write( "you would round to the nearest centavo.
\n" ); document.write( "the total charge becomes 147.72 pesos.
\n" ); document.write( "that would be 147 pesos and 72 centavos.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you round to the nearest half kilometer, then the total charges is 45 + 5 * 20.5 = 147.5 pesos.
\n" ); document.write( "that would be 147 pesos and 50 centavos.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula is good without taking rounding into consideration.
\n" ); document.write( "the rounding is based on the policy of the taxi company as well as the accuracy of the odometer.
\n" ); document.write( "the cost would probably be rounded to the nearest centavo.
\n" ); document.write( "the kilometers could be rounded up or rounded down, or just rounded to the nearest half kilometer as in the last example.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "an example of rounding to the nearest half kilometer follows.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "20.5436 is rounded to 20.5 because it's closer to 20.5 than it is to 21.
\n" ); document.write( "20.5436 is rounded up to 21
\n" ); document.write( "20.5436 is rounded down to 20.5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "20.9803 is rounded to 21 because it's closer to 21 than it is to 20.5.
\n" ); document.write( "20.9803 is rounded up to 21
\n" ); document.write( "20.9803 is rounded down to 20.5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );