# Thread: Integration

1. ## Integration

$\int_{0}^{L}xSin^2\frac{n\pi x}{L} dx$
Do I have to use only integration by parts to integrate this or are there any other methods as well?

2. $\int xsin^{2}xdx=\int \frac{1}{2}x(1-cos2x)dx$

$\int xcosxdx = \frac{xsin2x}{2}-\int sin2xdx$