Note: The formulas for the Fourier transform on half intervals are often given in the form [math], with the [math] outside the integral. Computing these integrals will often involve u-substitutions, integration by parts, and other integration techniques that will produce all kinds of constants. With the way these problems are asked in WeBWorK, it would be hard to keep track of when constants should be factored out or not, so we will adopt the policy that constants are always part of the integrand. For example the formula for the cosine coefficient would be [math]. When performing an integration by parts, all constants are included in the u term.
For the function
on the interval [math] we need only compute one set of the Fourier coefficients: