- #1

- 1

- 0

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter davidmandis
- Start date

- #1

- 1

- 0

- #2

HallsofIvy

Science Advisor

Homework Helper

- 41,847

- 966

If you want a "single expression", use the Heaviside function H(x) which is defined by "H(x)= 0 if x[itex]\le[/itex] 0, H(x)= 1 if x> 1". We can fit it to f by taking H(x- 4000).

f(x)= x/20000 + H(x- 4000)(4000- x/2000)

If x[itex]\le[/itex]4000, H(x- 4000)= 0 so f(x)= 1/2000. If x> 4000, H(x- 4000)= 1 so f(x)= 1/2000+ 4000- x/2000= 4000.

Share: