upper and lower integrals piecewise function on [0,1]

572 Views Asked by At

how do I calculate the upper and lower integrals for a piecewise function: $ f(x) = 3x $ if x is rational and $ f(x) = -2x$ if not? the interval is [0,1].

1

There are 1 best solutions below

0
On

$$U=\int_0^1 3x dx=\frac {3}{2} $$

$$L=\int_0^1-2x dx=-1$$