Here is how you should extend the function.
The thin red line is the actual function.
The dotted line is the extension to make it ODD.
The bold red lines are just the periodical repeats.
Ok, just attempted another Fourier serries for the half range sine extension of x(l-x) over the range 0<x<l. I havent finished the question yet but before i go any futher i would like to get someone else to have a look over my working if anyone has the time.
The problem and my solution to finding the coeficient bn, are attached and was hopeing someone could take a look at my integration and make sure i didn't make a mistake somewhere. Also, is there a simple way to test to see if i have the right expression for bn?
Thanks
Elbarto
---
You made the function odd, so this is a half-range sine Fourier expansion.
We can ignore the constant term and the cosine terms .
That means we simply need to find,
.
We know that on .
So now you need to boringly compute each summand.
The first,
I did not do the second one. And I have to leave now.
Theperfecthacker,
My first integral was the same as the integral you found so I looked for a problem in working out the second part. Sure enough, I found a problem in evaluating the limits at the end of the problem. I fixed this and my answer came out as
I graphed this in Mircosoft Excel for just one term in the serries and it looks pretty good. Tho i can see that the first term of the serries slightly over estimates the curve x(l-x) so i guess it makes sense that the next term should be subtracted but my serries for bn makes every odd term a possitive so can i expect the estimation of the curve x(l-x) to get worste as n approaches infinity?
I am looking at part C and it looks alot like my series apart from the alternating integers.
Thanks For the help.
Elbarto
I check the first one again and it was correct.
Let me just do the second one.
Look at second integral:
Return to line two, and evaluate:
So terms are (do not forget the factor outside the integral):
where are desribed in that box.
Now consider even and odd terms:
So the terms of this sequence are only odd and they are:
Thank you for your replies. I am just haveing a bit of trouble understanding your proceedure. when i have a look at your working, you get this.
but when i attempt to solve the equation i get
Then after multiplying through by the constants out the front i get
what step did you take from here to get the integral in that form??
Thank you
Elbarto
Once again thank you for your reply. I still couldn't find the same solution so i used my integral tables rather then useing integration by parts. This is what i keep getting
Is there a possibility that you missed a negative sign in your integrals? i graphed my solution and it appears to work.
I have attached a copy of my spread sheet if you could have a look at it?
Regards
Elbarto
I do not have Excel on the computer I am using. Nor have I ever used excel in my life. If you can do:
n=10,20,50,100
And post them as screenshots I would love to see that.
I think the animation of how a Fourier Series converges to the function is beautiful to watch.