How to Create an Equation for Handling Charges Based on Computer Cost

  • Thread starter Thread starter stufine
  • Start date Start date
AI Thread Summary
Creating a handling charge equation based on computer costs involves setting up a piecewise function due to the discontinuities in charge amounts. The handling charge increases in specific increments as the price ranges change, with distinct charges for different cost brackets. For example, a computer priced between $300-$399 incurs a $2.00 charge, while a price of $400-$499 incurs a $2.50 charge. The challenge lies in defining the variables correctly, where y represents the handling charge and x represents the cost range. Understanding piecewise functions is essential for accurately modeling this relationship.
stufine
Messages
2
Reaction score
0
I can't figure this one out. It sounds simple but I can't get anything to work.

If a computer costs 300-399 charge 2.00 handling charge.
If a computer costs 400-499 charge 2.50 handling charge.
If a computer costs 500-599 charge 3.00 handling charge.

So for every hundred add $.50.

$1-$100 add .50
$101-$200 add 1.00
$201-$299 add 1.50

So part of the equation could be 2.00+.5x this part will work if I can get x to equal 1,2,3.

As you can see I am completely confused on how to do this. Any help will be appreciated.
 
Physics news on Phys.org
First of all, you should decide what y and x should be. Y is dependant of what x is. Is y the handling charge or the total price? What will x be in that case?
 
The "equation" for this is actually going to be discontinuous. When x goes from 399 to 400, y jumps from 2.00 to 2.50.

These kinds of equations cannot be cast in the form y = ax + b, because of those discontinuities.

The best way to describe this relationship would be to use a piecewise function. Do you know what those are?

- Warren
 
I don't know what piecewise functions are. I will look up what they are and see if I can figure it out. Any pointers you could give would be very appreciated.
 
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...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...

Similar threads

Back
Top