Show complete, organized and well represented work
Problem 1
Given the periodic function f(t) shown, find the following:
i) The value of a0 where:
π0 =
1
π
β« π(π‘)ππ‘
π
0
ii) Expression for an where:
ππ =
2
π
β« π(π‘)cos(ππ‘)ππ‘
π
0
iii) Expression for bn where:
ππ =
2
π
β« π(π‘)sin(ππ‘)ππ‘
π
0
T: is the period of the waveform.
Problem 2
Write a Matlab code that will plot the following functions using the results of Problem 1.
Make sure the code is well represented, documented, and complete.
Also, place the resulting plots below. The plots must be labeled and titled correctly.
i) πΉ1
(π‘) = π0 + β ππ cos(ππ‘) + ππsin(ππ‘)
3
π=1
ii) πΉ2
(π‘) = π0 + β ππ cos(ππ‘) + ππsin(ππ‘)
Solution Preview
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction
of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.
%%%
%%% Code to plot F1(t)
%%%
t = [0:0.01:20];
a0 = 4;
F1 = a0;
for n=1:3
F1 = F1 + (4*sin(2*n)/n) * cos(n*t);
F1 = F1 + (4*(1-cos(2*n))/n) * sin(n*t);
end
figure(1);
plot(t,F1);
xlabel('t (seconds)');
ylabel('F1');
title('F1(t)');
%%%
%%% Code to plot F2(t)
%%%
t = [0:0.01:20];
a0...
This is only a preview of the solution. Please use the purchase button to see the entire solution
By purchasing this solution you'll be able to access the following files: Solution.docx and Solution.zip.
Please let us know the date by which you need help from your tutor or the date and time you wish to have an online tutoring session.
Request Speed
Normal response time: Our most experienced, most successful tutors are provided for maximum expertise and reliability.
Fast response time: Used only for emergencies when speed is the single most important factor.
Why do we ask for this?
We require your email address so that we can send you an email alert when the tutor responds to your message.
We respect your privacy. Your email address will not be used for any other purpose.
You may read our privacy policy for more info.
Please use a personal email address
Please use an email address that does not end in .edu.
Homework Due Date
Please let us know the date by which you need help from your tutor or the date and time you wish to have an online tutoring session.
Request Speed
Normal response time: Our most experienced, most successful tutors are provided for maximum expertise and reliability.
Fast response time: Used only for emergencies when speed is the single most important factor.
Why do we ask for this?
We require your email address so that we can send you an email alert when the tutor responds to your message.
We respect your privacy. Your email address will not be used for any other purpose.
You may read our privacy policy for more info.
Homework Library
Warning: If you try using the HL in an unethical manner, expect to fail your class. All HL items are old, recycled materials and are therefore not original. We intend them to be used only for the purpose of studying and learning.