×

FOURIER SERIES:

In mathematics, a Fourier series is a way to represent a wave-like function as the sum of simple sine waves. More formally, it decomposes any periodic function or periodic signal into the sum of a set of simple oscillating functions, namely sine and cosine with the harmonics of periods. So, Fourier series are used in the analysis of periodic functions.

Fourier Series:
begin{displaymath}A_0 + sum_{n = 1}^{infty} (A_ncos(nx) + B_nsin(nx)).end{displaymath}
where,

begin{displaymath}left{begin{array}{lclr}<br /><br /> a_0 &=& displaystyle frac{1}{2p...<br /><br /> ..._{-pi}^{pi} f(x) sin(nx)dx,& 1 leq n.<br /><br /> end{array}right.end{displaymath}
Here i used python programming tool instead of manual calculation to represent the Fourier
Series with some examples
.
paste

PYTHON CODE:
import numpy as np
import matplotlib.pyplot as plt
resolution = 0.0001
x = np.arange(-np.pi,np.pi,resolution)
square =  np.array(x) ……
See more

OUTPUT WAVEFORM:

1111

Python Output:
Output:
>>> a0
0.99998642294279794 (~1)
>>> b1
-0.63661977194539721 (-2/ π)
>>> b3
-0.21220658952264121 (-2/ 3 π)

111

1 comment

  1. 1) Naming consistency between A_n and a_n, B_n and b_n
    2) Add comments to the python code
    3) Waveforms needs to make more sense. Instead of calling it first harmonic can you say sin(1*x)*f(x).
    4) Help decode the output of the python code
    DC, first, third
    Plot of
    DC+a_1*sin(x)+a_3*sin(3x)

Comments are closed.

Author

prathap7618@gmail.com

Related Posts

Bhishma Hunt program

The Bhishma Hunt program, organized by Sanvi Educational and Charitable Trust at Sanvi International School, invited STEM Land to lead robotics and...

Read out all

India news clippings

About SAIIER and STEM land from 16:45

Read out all

Physical and Mental Health Awareness Session

-SandhiyaBala, Sivaguru , Tamil, Durai, Ajay, Rajesh , Gunavathi, Poovizhi , SandhiyaSaravanan and Sri Bhavani Every Tuesday morning, we have a learning...

Read out all

Fractions using polypod

-Ajay Children from 6th grade at Isaiambalam School learned about proper, improper and mixed fractions through stories and visualizations using Polypad. This...

Read out all

RTL session for B.Voc students

~ Jayabharathy, Poonguzhali, Tamilarasan, Sandhiya Bala, Kugan, Duraisamy, Poovizhi RTL session was conducted for the B.Voc students on 14th and 21st of...

Read out all

Inspiring Young Minds at Our STEAM Camp

-Mathegramming Team A five day Science Technology Engineering Arts and Maths (STEAM) Camp was organised by all the Auroville schools from 27th...

Read out all