How can i evaluate to Riemann sum:
i tried this $$\int_0^1 x^3 dx$$
I used $$ \sum_{n=1}^{n}\frac{i^3}{n^3}=1^3+2^3+..+n^3 = \frac{n^2(n+1)^2}{4}$$
$$\int_0^1 x^3 dx = \lim_{x\rightarrow\infty}\frac{1-0}{x^{3+1}}\cdot \frac{x^2(x+1)^2}{4}=\frac{1}{4} $$
$$ \lim_{x\rightarrow\infty}\frac{x^2(x+1)^2}{4x^4}=\lim_{x\rightarrow\infty}\frac{x^4 + 2x^3+x^2}{4x^4}=\frac{1}{4}$$
How can i evaluate those?
$$\int_0^\pi \sin x dx$$
$$\int_1^2 \ln x dx$$
The sine integral has been treated here:
Riemann sum of $\sin(x)$
For the integral $I:=\int_1^2\log x\ dx$ we choose a partition of $[1,2]$ into $n$ subintervals of unequal length by putting $$x_k:=2^{k/n}\qquad(0\leq k\leq n)\ .$$ The longest of these intervals is the last one, and its length is $$2-2^{(n-1)/n}<2^{1/n}-1\to 0\qquad(n\to\infty)\ .$$ A Riemann sum for I can then be set up as follows: $$R_n=\sum_{k=1}^n \log\bigl(2^{k/n}\bigr)\>\bigl(2^{k/n}-2^{(k-1)/n}\bigr)={\log 2\over n}\sum_{k=1}^n k\>\bigl(2^{k/n}-2^{(k-1)/n}\bigr)\ .$$ The sum on the right can be evaluated in closed terms, and one obtains $$R_n=\log 2\>\left(2-{1/n\over 2^{1/n}-1}\right)\ .$$ It follows that $$I=\lim_{n\to\infty} R_n=\log 4 -1\ .$$