An Introduction to Thermal Physics · Problem B.18

Systems of Interacting Particles — Daniel Schroeder

Physics — Statistical Mechanics · fourier-series-square-wave

Problem

Use a computer to plot the sum of sine waves on the right-hand side of equation B.41, terminating the sum first at k=1k = 1, then at k=3k = 3, 5, 15, and 25. Notice how the series does converge to the square-wave function that we started with, but the convergence is not particularly fast.

Related theory

Browse the problem library