# Piecewise function: check answer

1. Feb 9, 2014

### 939

1. The problem statement, all variables and given/known data

Make a piecewise function. If possible, please check my work.

3. Feb 9, 2014

### 939

Thanks! But doesn't x > 20 000 show that sales must be over 20 000? (i.e. in the function, you would only multiply x by 0.25 if sales, x, were over 20 000)

4. Feb 9, 2014

### haruspex

Yes, the sales are over 20,000, but the 25% commission is only on the excess over 20,000.
You did it correctly in the middle line: ..., 0.20(x - 10 000), ...