Expand in Fourier series:
Expand in fourier sine and fourier cosine series of: f(x) =
x(L-x), 0<x<L
Expand in fourier cosine series: f(x) = sinx, 0<x<pi
Expand in fourier series f(x) = 2pi*x-x^2, 0<x<2pi,
assuming that f is periodic of period 2pi, that is,
f(x+2pi)=f(x)
In a single Matlab script, plot a sine wave and cosine wave
over 2 periods (0 to 4π). Checkpoints of the requirements:
Generate your independent variables first; the step size should
be no larger than 0.1 so that it has enough samples to get smooth
lines. Plot the two waves on the same graph.
Specify the line color and styles: red dashed line for sine
& blue solid line with dot markers for cosine.
Include axis labels and a descriptive...