# Thread: Inserting Limits Into Integral Result

1. ## Inserting Limits Into Integral Result

What would this give: $\displaystyle \left[\frac{\cos n\pi t}{n \pi}\right]^0_{-1}$.

The solution given is $\displaystyle (1 + \cos n\pi)$.

I don't understand what to do with the $\displaystyle n\pi$ because $\displaystyle \cos(0) = 1$ but what does $\displaystyle \cos n\pi (0)$ equal?

$\displaystyle cos(n{\pi})=-1$ for odd values of n

$\displaystyle cos(n{\pi})=1$ for even values of n.

Is that what you meant?.

3. Originally Posted by galactus

$\displaystyle cos(n{\pi})=-1$ for odd values of n

$\displaystyle cos(n{\pi})=1$ for even values of n.

Is that what you meant?.
$\displaystyle \int^0_{-1} (1+t)\cos n \pi t \ \mathrm{d}t$ Through which I used integration by parts and got a similar result to $\displaystyle \left[\frac{\cos n\pi t}{n \pi}\right]^0_{-1}$.
The correct is $\displaystyle \left[-\frac{\cos n\pi t}{n \pi}\right]^0_{-1}$ but what would I get if I put the limits in?
4. $\displaystyle \int_{-1}^{0} (1+t)cos(n{\pi}t)dt$
$\displaystyle \frac{1-cos(n\pi)}{(n{\pi})^{2}}$