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
AI Thread Summary
The discussion focuses on creating a piecewise function to calculate the cost of a phone call based on its duration. For calls lasting 20 minutes or less, the cost is a flat rate of 99 cents. For calls exceeding 20 minutes, the cost includes the initial 99 cents for the first 20 minutes plus an additional 7 cents for each minute beyond that. Participants are encouraged to define the function clearly, specifying the cost for both scenarios. The conversation emphasizes understanding how to break down the costs based on the duration of the call.
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:
f(x) := \left\{ \begin{array}{l} ... , \quad \quad \mbox{if } 0 \leq x \leq 20 \\ ... , \quad \quad \mbox{if } x &gt; 20 \end{array} \right.
Can you go from here? :)
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top