Recent content by Morbidly_Green

  1. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    Since n=2 would yield a division by zero I started from the first calculable term, n=3, and as I said I forgot how important the terms before are
  2. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    Ah yes! Thank you, I completely forgot that you can't just ignore the first terms !
  3. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    Ah I didn't notice the link, it seems that yours matches with cos2x whereas I get the following plot : https://www.desmos.com/calculator/4f8ifub224
  4. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    When I plotted the Fourier series on top of the function cos2x they did not match
  5. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    Yes, this is true, but I used the formula for $$b_n$$ that assumes I do indeed have an odd function
  6. Morbidly_Green

    Finding the Sine Representation of an Odd Function Using Fourier Series

    I am attempting to find the sine representation of cos 2x by letting $$f(x) = \cos2x, x>0$$ and $$-\cos2x, x<0$$ Which is an odd function. Hence using $$b_n = \dfrac{2}{l} \int^\pi _0 f(x) \sin(\dfrac{n\pi x}{l})dx$$ I obtain $$b_n = \dfrac{2n}{\pi} \left( \dfrac{(-1)^n - 1}{4-n^2} \right)$$...
  7. Morbidly_Green

    Expressing the density matrix in matrix form

    Homework Statement Given the above lambda system, is it wrong to say that the density matrix is of the form ## \rho = c_1|1> + c_2|2> + c_3|3> ## ? Hence when written in matrix form (basis of ##|i>##), ## \rho ## is a diagonal matrix who's elements are the ##c_i##s?
  8. Morbidly_Green

    Using Stoke's theorem on an off-centre sphere

    So this is taking the surface to be the circle ? Thats much simpler then, thanks!
  9. Morbidly_Green

    Using Stoke's theorem on an off-centre sphere

    Apologies for that: F= (y,z,x) curl F = (-1,-1,-1) Projecting the surface on the x-y plane: Take ##\Phi = z- \sqrt{2b(x+y)-x^2 -y^2} = 0## from the equation of the surface to find the normal n. Then $$\textbf{n} = \dfrac{\nabla\Phi}{|\nabla\Phi|} = \dfrac{\left(\dfrac{x-b}{\sqrt{2b(x+y)-x^2...
  10. Morbidly_Green

    Using Stoke's theorem on an off-centre sphere

    Homework Statement Homework Equations Stokes theorem $$\int_C \textbf{F} . \textbf{dr} = \int_S \nabla \times \textbf{F} . \textbf{ds}$$ The Attempt at a Solution I have the answer to the problem but mine is missing a factor of$$\sqrt 2 $$ I can't seem to find my error
  11. Morbidly_Green

    Python Removing previously plotted points on scatter plot; python

    Homework Statement I'm plotting moving particles and I need a way to refresh the graph space with every loop. Meaning I want the points to NOT leave a trail of other points behind them . Basically I want to get rid of the old points as I plot new ones. Homework Equations N\A The Attempt at a...
Back
Top