Can anyone please answer the following questions ?
1) $\int\left \lfloor{x}\right \rfloor dx$
2) $\int$ $ \left \lfloor{\sin(x)}\right \rfloor $ $dx$
3) $\int_0^2$ $\left \lfloor{x^2+x-1}\right \rfloor$ $dx$
4) $\int_o^\pi$ $\left \lfloor{x(1+\sin(\pi x)}\right \rfloor$
Also can anyone please make me understand the way in which to proceed in these types of sums?
$\left \lfloor{x}\right \rfloor$ is the floor function
Thanks

A related problem. I'll do number $(3)$. Note that for $n \in \mathbb{N} $ we have
$$ n \leq x < n+1 $$
$$ \implies n^2 \leq x^2 < (n+1)^2 $$
$$ \implies n^2+n-1 \leq x^2+x-1 < (n+1)^2 +(n+1)-1 $$
which yields
Now, we go back to the integral
Note: I believe You can generalize the above process for any polynomial $p(x)$.