C++ Programming GalleryGraphics

Calculate and plot the Fourier series of a function in C++, using graphics.h BGI library

It transforms a periodic function f(t), to its respective Fourier series (The same function but represented in an infinite sum of Sines and Cosines of different frequency) very useful to visualize how many terms of the Fourier Series are needed to approximate the original function.

Developed by:

JOSE LUIS DE LA CRUZ LAZARO

YACSHA – Software & Desing, since 1999, Lima – Perú
The World of Chaos – EL MUNDO DEL CAOS – Unlimited Programming

You can DOWNLOAD the SOURCE CODE and executable software for FREE from here:

Join The World of Chaos Developer Community😃

Contribute to the project on Github!

HISTORY

  • Version 2 – 26-III-2024
    • Update graphics/fourier – Porting to VC++ 2017 using winbgi
    • The fourier series approximation with up to 15 terms is added for the following functions: “Step Function”, “sqrt(1 – t^2)”, “0.1(t + 2)(t + 1)* t(t – 1)(t – 3)” and “t^3
  • Version 1 – 8-XI-1999
    • First version for Borland C++ 3.1 and Turbo C 3.0

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button