Partition{$\frac{-\pi}{6},3,2\pi$}
$f(x)= 1/2$ if x is rational $sin(x)$ if x is irrational.
Im not sure if im doing it correctly: $L(P,f)=(3-\frac{-\pi}{6})(sin(\frac{-\pi}{6}))+(2\pi-3)(sin(2\pi))$
Another question. If I have a function f(x) = constant, how would I choose the lower and upper bounds.