- #1

imsleepy

- 49

- 0

## Homework Statement

## Homework Equations

## The Attempt at a Solution

i'm pretty much learning Fourier series from scratch today after only looking at it in lectures (and my exam is tomorrow lol @ me) and I'm sort of stuck.

The solutions have something different to what i have, i think it might be an error in their integration by parts (which i also learned today, despite how simple it seems).

this is my working out: http://i.imgur.com/6OXlr.jpg

and this is the worked solutions: http://i.imgur.com/1RAJL.png

doesnt the integral of (1/n)*sin(nx) equal to (-1/n^2)*cos(nx)? like i have in my working?

because the solutions are saying it integrates into (-1/n)*cos(nx).

or is mine set out incorrectly after I've integrated by parts?

edit: I've only shown both workings from where i had to find a subscript n, before that everything was fine and correct.