Integrating smooth periodic functions
The post examines the smooth, 2π-periodic function f(x) = cos(sin(x) + x) and explains that because of its properties, the trapezoid rule computes its integral very efficiently, with exponentially small error.
The post examines the smooth, 2π-periodic function f(x) = cos(sin(x) + x) and explains that because of its properties, the trapezoid rule computes its integral very efficiently, with exponentially small error.