.
The proposed Sky train fare would charge ₱35for the first 5 km of travel and ₱6.50for each additional kilometer over the proposed fare.
:
A. Find the fare function f(s) where s represents the number of kilometers needed.
~~~~~~~~~~~~~~~~~~~~~~
For a beginner student/reader, it is very important to know and to learn
on how to write such functions (piece-wise functions) correctly.
In this problem, the definition of the function f(s) is a standard TWO-LINE form
/ 35, if s <= 5 kilometers
|
/
f(s) = <
\
|
\ 35 + 6.50*(s-5), if s > 5 kilometers.