How to integrate:
$$1) \int_{0}^{2}[x^{2}+[x^{2}]]dx$$
$$2) \int_{0}^{2}[x+[x^{2}+x+2]]dx$$
Here the two questions are different. And also $[.]$ denotes Greatest Integer Function.
Now my way of Approach:
For the $2^{nd}$ integral, I am trying this by writing
$$\int_{0}^{2}[x+[x^{2}+x+2]]dx=\int_{0}^{2}[x]dx+\int_{0}^{2}[x^{2}+x+2]dx$$
Now $$\int_{0}^{2}[x]dx$$ is easy.
But I am unable to integrate $$\int_{0}^{2}[x^{2}+x+2]dx$$
Though I thought of writing $x^{2}+x+2=(x+\frac{1}{2})^{2}+\frac{7}{4}$
But after this step I am unable to understand what to do.
Kindly help me out with these 2 integrals.