How Do You Calculate the Cost of a Phone Call with a Piecewise Function?

  • Thread starter Thread starter Rusho
  • Start date Start date
  • Tags Tags
    Function
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 8K views
Rusho
Messages
24
Reaction score
0
A phone company offers a deal by which a long distance phone call costs .99 cents for the first 20 minutes and .07 per minute thereafter. Write a piecewise-defined function for the cost C of making a phone call that lasts x minutes.

So I did this:


f(x) { .99(6) 0<= x
.99(20) 0=> x >= 20

Not a clue what I'm doing...:mad: :mad: :mad:
 
Physics news on Phys.org
Okay, say you make a x-minute phone call (x <= 20), i.e a phone call that lasts no longer than 20 minutes. How much will you have to pay if you know that each minute costs you .99 cents?
------------------------
If you make a y-minute phone call (y > 20), i.e a phone call that lasts more than 20 minutes. How much will you have to pay for the first 20 minutes? How much will you have to pay for the (y - 20) minutes last? Then do you know how much will you have to pay for that whole y-minute phone call?
------------------------
Your function will look like this:
[tex]f(x) := \left\{ \begin{array}{l} ... , \quad \quad \mbox{if } 0 \leq x \leq 20 \\ ... , \quad \quad \mbox{if } x > 20 \end{array} \right.[/tex]
Can you go from here? :)