Worked Example: Worked Mathematical Example: Fourier Series Harmonics
Compute Fourier harmonic coefficients, Parseval energy %, and Total Harmonic Distortion (THD).
- Specify the function parameters, matrix entries, or confusion matrix counts.
- Apply the closed-form or iterative formula: b_n = 4A / (n·π) for odd n; ParsevalPowerFraction = Σ_{odd k≤N} (8 / (k²·π²)); THD = √(1 / (8/π²) − 1).
- Examine the primary result, error bounds, and 3 interactive SVG plots.
Result: Computes Fourier Series Harmonics via b_n = 4A / (n·π) for odd n; ParsevalPowerFraction = Σ_{odd k≤N} (8 / (k²·π²)); THD = √(1 / (8/π²) − 1).
Mathematics & Statistics · Numerical Analysis & Calculus
Fourier Series Harmonic Amplitude, RMS & Gibbs Phenomenon Overshoot Calculator: inputs, method, and how to read the result
Compute Fourier harmonic coefficients, Parseval energy %, and Total Harmonic Distortion (THD).
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Square Wave Peak Amplitude A: Peak amplitude A of the symmetric square wave (±A).
- Fundamental Frequency Hz: Fundamental frequency f₁ in Hz.
- Max Harmonic Order N: Highest odd harmonic order N included in the partial sum (1, 3, 5, 7, ...).
What the calculation includes
With the default values shown, Fundamental Sine Amplitude b₁ (4A/π) is 6.366 units. The calculation follows Fourier Series Harmonics Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Square Wave Peak Amplitude A from 5 V / units to 6 V / units changes Fundamental Sine Amplitude b₁ (4A/π) from 6.366 units to 7.639 units. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses exact analytical or standard numerical analysis formulations from NIST DLMF.
- Double-precision floating-point arithmetic has ~15–17 significant decimal digits of precision.
Scope: Global Mathematical & Statistical Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Mathematics & Statistics: Scientific Calculator, Statistics & Standard Deviation Calculator, Permutations, Combinations, Probability, Sample Size & P-Value Calculator.