Need example of Riemann Integrable function f: [-1,1] -> R which:
1) Integral from -1 to 1 = 1
2) Integral from -1 to 0 = -1
3) Integral from -1 to 1 of absolute value of f(x) = 2
Any help would be much appreciated as I couldn't come up with any. Is there some kind of easy way to find function which meet said requirements?