Recent content by Nallyfish

  1. N

    How Do You Calculate the Fourier Series of a Piecewise Function with Period 4?

    I got a0= \frac{3}{2} Because I thought the formula was \frac{1}{2L}\int^{L}_{-L}f(x)dx and L is 2 so a0= \frac{1}{4}[\int^{0}_{-2}(2+x) dx + \int^{2}_{0}2 dx] Which would give \frac{3}{2}
  2. N

    How Do You Calculate the Fourier Series of a Piecewise Function with Period 4?

    I keep reaching different answers for my an and bn My latest answers are an= \frac{2(n+1)}{n^{2}\pi^{2}} and bn= \frac{2(n\pi^{2}+\pi^{2}-1)}{n\pi}
  3. N

    How Do You Calculate the Fourier Series of a Piecewise Function with Period 4?

    Sorry, I forgot to take the sines and cosines out an=\frac{2}{n^{2}\pi^{2}} and bn= 0 Is what I've got which I HOPE is correct. This would make the Fourier series f(x)=\frac{3}{2}*\sum^{\infty}_{n=1}\frac{2}{n^{2}\pi^{2}}cos(\frac{(n\pi)x}{2})
  4. N

    How Do You Calculate the Fourier Series of a Piecewise Function with Period 4?

    Oh god, I'm an idiot. Thank you for that! Can't believe I did that. So I now have an=\frac{1}{2}\int^{0}_{-2}(2+x)cos(\frac{n\pi}{2})xdx+\frac{1}{2}\int^{2}_{0}2cos(\frac{n\pi}{2})xdx = \frac{4sin(n\pi)}{n\pi} and bn= \frac{-2(ncos(n\pi))(\pi-sin(n\pi))}{n2\pi2}
  5. N

    How Do You Calculate the Fourier Series of a Piecewise Function with Period 4?

    Homework Statement The function f has period 4 and is such that f(x)=2+x, -2<x\leq0 f(x)=2, 0<x<2 Sketch the graph of f for x∈[−4, 4] and obtain its Fourier series. Homework Equations The Attempt at a Solution Okay so I've pretty much sketched the graph, but I've been...
  6. N

    Find the Fourier cosine series of f(x)=x(Pi+x)

    Homework Statement Find the Fourier cosine series representation of g(\chi) = \chi (\pi + \chi) on the interval (0,\pi) The attempt at a solution Okay so I've got a0=\frac{1}{\pi}\int\chi(\pi+\chi)d\chi =\frac{5\pi^{3}}{6} an=\frac{1}{\pi}\int\chi(\pi+\chi)cos(n\chi)d\chi for...