Demonstration of Fourier Series using Python Code
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:
where,

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:
1 comment
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 allPhysical 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 allFractions 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 allInspiring 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
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)