Solving the Expanded Cosine Series of y=sin(x) in (0,180)

  • Thread starter Thread starter prasanaharani
  • Start date Start date
  • Tags Tags
    Cosine Series
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
6 replies · 4K views
prasanaharani
Messages
9
Reaction score
0
expand the function y=sinx in a series of cosines in the interval (0 to 180)
i want to know only the value of f(x) for solving this.what is the value of
f(x).
 
Physics news on Phys.org
expand the function y=sinx in a series of cosines in the interval (0 to 180)
i want to know only the value of f(x) for solving this.what is the value of
f(x).
 
I suggest you post the entire problem, exactly as it was given to you. Next, show us your attempts at a solution, and where you've gotten stuck.

- Warren
 
to solve this problem first we need to know the value of An and A0
ie the series is A0/2+SUMATION n=1 to infinity (An cosnx)where An is given by An=2/pie integral of -pie to +pie f(x)cosnx dx
now what is the value of f(x) to substitute in that place to solve it.pls tell me.
 
To solve this problem first we need to know the value of An and A0
ie the series is A0/2+SUMATION n=1 to infinity (An cosnx)where An is given by An=2/pie integral of -pie to +pie f(x)cosnx dx
now what is the value of f(x) to substitute in that place to solve it.pls tell me.
 
[tex]f(x) = \sin(x)[/tex]?
Why do you have two names (y and f(x) for the same thing?)
At least, that's what you said in your first (two) post(s).
 
Last edited:
cos(nx) is an even function. So you have to even extend the function[tex]f(x) = \sin(x)[/tex] first.
It will be a periodic function of period [tex]2L = \pi[/tex].
Then the coefficient
[tex]a_n = \frac{2}{\pi/2} \int{\sin(x)\cos(2nx) dx}[/tex]
integrate from 0 to [tex]\frac{\pi}{2}[/tex]
which simplify to
[tex]a_n = -\frac{2}{\pi (4n^2-1)}[/tex]

The Fourier series is then
[tex]\sin(x) = \frac{2}{\pi} -\frac{4}{\pi}(\frac{\cos(2x)}{1.3} + \frac{\cos(4x)}{3.5} + . . . )[/tex]
 
Last edited: