Quote:
Originally Posted by wildrabbitt
Would be great if someone could help.

1. Do not try and use \end to end a section or subsection (just start the next one).
2. Do not put empty lines inside an "equation".
3. If you do not want the equation numbered, it is preferable to use "displaymath" instead of "equation", or simply use square brackets around the formula.
With these changes, your file worked on my computer.