Skip to content
View jonas1ara's full-sized avatar

Block or report jonas1ara

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
jonas1ara/README.md

Jonas Lara

GitHub

Fourier series, a poem ...

The Fourier series is a branch of Fourier analysis that aims to decompose a periodic function into a sum of exponentials (or trigonometric functions) with different frequencies and magnitudes, in this particular demonstration, we are defining $f(t)$ to be a periodic complex function with $t\in[0, 1]$

Represent $f(t)$ as a sum of exponential functions rotating at frequencies of $0, 1, -1, 2, -2, ...$ rotations per $t$:

$$ f(t) = \dots + c_{-2}e^{-2\cdot 2\pi it} + c_{-1}e^{-1\cdot 2\pi it} + c_{0}e^{0\cdot 2\pi it} + c_{1}e^{1\cdot 2\pi it} + c_{2}e^{2\cdot 2\pi it} + \dots $$

Taking the integral of the function across its domain:

$$ \int_0^1 f(t) dt $$

Expanding $f(t)$ in terms of its Fourier series:

$$ \int_0^1 f(t) dt = \int_0^1 (\dots + c_{-1}e^{-1\cdot 2\pi it} + c_{0}e^{0\cdot 2\pi it} + c_{1}e^{1\cdot 2\pi it} + \dots)dt $$

Distributing the definite integral:

$$ \int_0^1 f(t) dt = \dots + \int_0^1c_{-1}e^{-1\cdot 2\pi it}dt + \int_0^1c_{0}e^{0\cdot 2\pi it}dt + \int_0^1c_{1}e^{1\cdot 2\pi it}dt + \dots $$

Blog

If you are interested in maths and computer science topics, you may be interested in my blog: jonas1ara.github.io

Pinned Loading

  1. 73 73 Public

    The 73 most useful LeetCode problems implemented in C, C++, C# and F#

    C# 147 15

  2. Nube-Fiscal/NubeFiscal.PdfGenerator Nube-Fiscal/NubeFiscal.PdfGenerator Public

    Genera representaciones impresas en PDF de CFDIs 4.0 del SAT de México.

    C#

  3. FSynapse FSynapse Public

    A minimalist lab for neural architectures in F#

    F# 27 1

  4. Nube-Fiscal/efos-mx Nube-Fiscal/efos-mx Public

    API gratuita del listado EFOS (Art. 69-B CFF) en JSON, actualizada cada día automáticamente. Sin servidor, sin costo, con historial de cambios.

    F#

  5. MicroGPT.fsx MicroGPT.fsx
    1
    #!/usr/bin/dotnet fsi
    2
    
                  
    3
    open System
    4
    open System.Collections.Generic
    5
    open System.Globalization
  6. Fitch Fitch Public

    A fast, cross-platform system information tool written in F#

    F# 21 1