Question: Problem 3. Run the partial sums for the following five trigonometric series and answer the following questions about the resulting function as Nterms tend to

Problem 3. Run the partial sums for the following five trigonometric series and answer the following questions about the resulting function as Nterms tend to infinity. Below is a sample Matlab code. a) What is the period of the resulting function? b) Are there overshoots or undershoots? c) Is the resulting function seem to be continuous, discontinuous, is its first derivative continuous or discontinuous? d) How the coefficients decay in terms of the index n, eg. 1, 1, exp(-n), etc.? clear all close all &case 1 case 2 case 3 Nterms-32; x=-5:0.01:10; S = 0.0;aws! for n=1:Nterms SS= SOS (n); & S = S + (-Un * sin(n*x); & k-2*n-1; & S = S + (-1*** sin(k*x)/k; & k-2-1 8 S = S + (-22* cos(k*x)/k-2; $ S = s t exp(-n^2/10)*cos (n*x); plot/x, S); framesin) = get frame> end case 4 &case 5 movie (frames, 1,3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
