f(x) = (x^2 )0 < x < 1, (2?x), 1 < x < 2
A) Solve this integral, writing An as an expression in terms ofn. Write down the
values of A1,A2,A3,A4,A5 correct to 8 significantfigures.
b) Use MATLAB to find the coefficients of the first fiveharmonics and compare the
results with those from part (e). Your solution should include acopy of the m-file
fnc.m which you use to obtain the coefficients
c) Using MATLAB, plot the function and its approximatingfive-term Fourier series.