Calculation of $\displaystyle \int_{0}^{\sqrt{n}}\lfloor t^2 \rfloor dt\;$, where $n\in \mathbb{N}$ and $\lfloor x \rfloor = $ floor function of $x$.
$\bf{My\; Try}::$ Let $t^2 = u$ and $\displaystyle dt = \frac{du}{2\sqrt{u}}$ and changing Limits, we get $\displaystyle \frac{1}{2}\int_{0}^{n}\frac{\lfloor u \rfloor }{\sqrt{u}}du$
Now Let
$\displaystyle I = \int_{0}^{n}\lfloor u \rfloor \cdot u^{-\frac{1}{2}}du = \int_{0}^{1}0\cdot u^{-\frac{1}{2}}du+\int_{1}^{2}1\cdot u^{-\frac{1}{2}}du+\int_{2}^{3}2\cdot u^{-\frac{1}{2}}du+.........+\int_{n-2}^{n-1}(n-2)\cdot u^{-\frac{1}{2}}du+\int_{n-1}^{n}(n-1)\cdot u^{-\frac{1}{2}}du$
$\displaystyle =-2\left\{1\cdot \left(\sqrt{2}-1\right)+2\cdot \left(\sqrt{3}-\sqrt{2}\right)+3\cdot \left(\sqrt{4}-\sqrt{3}\right)+.......+(n-2)\cdot \left(\sqrt{n-1}-\sqrt{n-2}\right)+(n-1)\cdot \left(\sqrt{n}-\sqrt{n-1}\right)\right\}$
Now how can i calculate given sum in closed form
please Help me
Thanks