Question

4. Consider the periodic function 0, -1<t<- f(t) cos(#(t + 1)), } <t< 0 cos(at), 0<t< 0, }<t<i with f(t) = f(t+2). (a) Determ

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given that Considee the periodic function akta. Cascailt+1)] 12 ctca ostat 2 <tel Solution f(+) Cos (Tt) o atktk - 1 f(t) cas© an: Iflt) cos in 17) et odt + 2 2 5 +3 cos (T(+41)eus (n tr t) dt + sadas ( 9 L) cos (not) dit 11 cos[ 97] -² odt tot casHence fowied series ft) =2soo no --Sin [22] (-1+n2) 7 nal Sin int.) TI Since sin (1997.), of his add and co 암 nis Even So whe1 2 3 f=0; t=linspace(-1,3); for n=2:1:6 4 5 - f=f+2*((n-sin(n*pi/2))/((-1+n^2) *pi))*sin(n*pi*t); end 6 7 00 plot(t,f);output

Figure 1 x + 1 0.8 0.6 0.4 0.2 0 -0.2 -0.4 -0.6 -0.8 -1 0 1 3 Nmatlab code

Plot in matlab

f=0;
t=linspace(-1,3);
for n=2:1:6
  
f=f+2*((n-sin(n*pi/2))/((-1+n^2)*pi))*sin(n*pi*t);
end

plot(t,f);

**************PLEASE GIVE ME LIKE**********************

Add a comment
Know the answer?
Add Answer to:
4. Consider the periodic function 0, -1<t<- f(t) cos(#(t + 1)), } <t< 0 cos(at), 0<t<...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT