Fourier B-coefficients for a tricky f(x)

  • Thread starter Thread starter blaksheep423
  • Start date Start date
  • Tags Tags
    Fourier
AI Thread Summary
The discussion focuses on computing the Fourier coefficient Bn using the formula Bn = 2/L∫f(x)*sin(kn x) dx, with f(x) defined as 1/2(1-cos(2*pi*x/a) for 0 < x < a and 0 for a < L. The contributor expresses confidence in their understanding of Fourier transforms and has successfully verified their lengthy solution using Maple 12. They seek advice on efficient integration techniques for products of sine and cosine functions with differing arguments. A suggested method involves converting sines and cosines into complex exponentials, simplifying the integration process before reverting to the original functions.
blaksheep423
Messages
17
Reaction score
0

Homework Statement



compute the Fourier coefficient Bn:

Bn = 2/L\intf(x)*sin(kn x) dx
where kn = n*pi/L and the integral runs over L (pardon the appearance, I am not very good with LaTeX).

Homework Equations


f(x) = 1/2(1-cos(2*pi*x/a) for 0 < x < a
f(x) = 0 for a < x < L


The Attempt at a Solution



I have a pretty solid grip on Fourier transforms and integrating to find the coefficients. Using quite a bit of trig identities and splitting the integral into about 5 parts I was able to come up with a very long solution, a solution which Maple 12 verified was true. I won't bother putting it here because I'm fairly sure that my professor is not looking for something that large and unwieldy. We are expected to use the coefficients for later parts of the assignment. Are there any sneaky tricks I don't know about for integrating sin*cos when the arguments inside are different?
 
Physics news on Phys.org
I don't know if this is "sneaky", but I do such integrals by converting sines and cosines to complex exponentials using

sinx= (eix-e-ix)/2i
cosx= (eix+e-ix)/2

When you multiply things out, you end up with a bunch of exponentials which are trivial to integrate. Once you evaluate the integrals, you can go back from complex exponentials to sines and cosines.
 
Last edited:
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top