document.write( "Question 1186586: The proposed Sky train fare would charge ₱35for the first 5 km of travel and ₱6.50for each additional kilometer over the proposed fare.
\n" ); document.write( "A. Find the fare function f(s) where s represents the number of kilometers needed.
\n" ); document.write( "B. What is the proposed fare for a distance of 50km?
\n" ); document.write( "C. How much isthe fare for the distance of 45km?
\n" ); document.write( "D. Jay will travel to UP Diliman, he travelled a distance of 23km. How much did he pay for the train fare?
\n" ); document.write( "

Algebra.Com's Answer #817543 by ikleyn(52814)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "The proposed Sky train fare would charge ₱35for the first 5 km of travel and ₱6.50for each additional kilometer over the proposed fare.
\n" ); document.write( ":
\n" ); document.write( "A. Find the fare function f(s) where s represents the number of kilometers needed.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For a beginner student/reader,  it is very important to know and to learn
\n" ); document.write( "on how to write such functions (piece-wise functions) correctly.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In this problem,  the definition of the function  f(s)  is a standard TWO-LINE form\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "             /  35,                 if  s <= 5 kilometers\r\n" );
document.write( "            |\r\n" );
document.write( "           /\r\n" );
document.write( "   f(s) = <\r\n" );
document.write( "           \\r\n" );
document.write( "            |\r\n" );
document.write( "             \  35 + 6.50*(s-5),    if  s > 5 kilometers.\r\n" );
document.write( "\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );