
Concept explainers
Find the Fourier series for the signal shown in Figure 17.58 and verify it using MATLAB and find the value of

Answer to Problem 20P
The Fourier series
Explanation of Solution
Given data:
Refer to Figure 17.58 in the textbook.
Formula used:
Write the expression to calculate the fundamental angular frequency.
Here,
Write the general expression to calculate trigonometric Fourier series of
Here,
Calculation:
The given waveform is drawn as Figure 1.
Refer to Figure 1, the waveform is symmetrical about the vertical axis. The signal
Write the expressions for Fourier coefficients for an even function.
Refer to the Figure 1. The Fourier series even function of the waveform is defined as,
The time period of the function in Figure 1 is,
Substitute
Substitute
Simplify the above equation to find
Substitute
Simplify the above equation to find
Simplify the above equation to find
Assume the following to reduce the equation (5).
Substitute the equations (6) in equation (5) to find
Consider the following integration formula.
Compare the equations (6) and (8) to simplify the equation (6).
Using the equation (8), the equation (6) can be reduced as,
Simplify the above equation to find
Substitute
Substitute
Following includes the MATLAB code to obtain the waveform in Figure 1 using the obtained function
MATLAB Code:
t=0:.01:6;
f=5*ones(size(t));
for n=1:1:99
f=f+(60/(n^2*pi^2))*(cos(2*pi*n/3)-cos(pi*n/3))*cos(n*pi*t/3);
end
plot(t,f)
title('Fourier series plot of f(t)');
xlabel('Time t in sec');
ylabel('Function f(t)');
Output:
The output of the MATLAB is the Fourier series plot of the function
Substitute
Simplify the above equation to find
Write the MATLAB code to find
MATLAB code:
t=2;
f=5*ones(size(t));
for n=1:1:5
f=f+(60/(n^2*pi^2))*(cos(2*pi*n/3)-cos(pi*n/3))*cos(n*pi*t/3);
end
disp(f)
The Output displays the value of
9.5122
This output is approximately satisfied with calculated value of
Conclusion:
Thus, the Fourier series
Want to see more full solutions like this?
Chapter 17 Solutions
EBK FUNDAMENTALS OF ELECTRIC CIRCUITS
- I need an example on the subject (second order differential equations) and you solve it using the partition method and the Laplace method. Suggest an easy and simple example for me and solve it using two methods, only one example.arrow_forward5- Discuss your resultsarrow_forwardWrite a program to flash three LED's connected to ports (8, 9 & 10) respectively as shown below: (Note: T₁-T3-5s & T₂=3s) LED, (pin 10) 2. Suen LED₂ (pin 9) LED, (pin 8) T₁'T' T'arrow_forward
- 3- Draw the waveform for the cct. shown in fig.(2) but after replaced Di by thyristor with a 30°, 90° . 4- Draw the waveform for the cat shown in fig.(2) but after replaced D1 and D3 by thyristors with α = 30° and a2 = 90°. V₁ Det Ve DAX 뭔가 No Fig. (2)arrow_forwardWrite a program to flash three LED's connected to ports (11, 12 & 13) respectively as shown below: (Note: T-T3-3s & T₂= T₁=2s) LED (pin 11) LED2 (pin 12) LED: (pin 13) T' T2 T3' 14arrow_forwardNot use ai pleasearrow_forward
- Suppose you have three push buttons connected to (B5, B6 & B7) and eight LED's connected to (Do D7): Write a program to flash ON the odd LED's if we press the switch B7 for 0.4s, flash ON the even LED's if we press the switch (B6 for 0.4s and flash ON all the LED's if we press the switch B5 for 0.7s.arrow_forwardSuppose you have two push buttons connected to ports (0 & 1) and four LED's connected to ports (6-9). Write a program to flash ON the odd LED's if we press the switch 0 for 4s, flash ON the even LED's if we press the switch 1 for 5s and flash ON all the LED's otherwise for 6s.arrow_forward1. Figure 2 shows a filter. Transpose the filter by first converting it into a DFG and redraw the transposed filter + (✗ D + × y(n) ✗ (☑ (x) (+ 4D (×→+) D u(n) ✗ (☑ + Figure 2: Filter structure. D Darrow_forward
- Design a 4-bit circuit with 2 outputs A and B. A is 1 if the input is divisible by 2 and B is 1 if the input is divisible by 3. Simplify A and B and implement the circuit.a. Draw KMAP for A and B and simplify them and then draw circuitarrow_forwardQuestion 1. Design a 4-bit combinational circuit for a 2’s complementer. The circuit generates at the output the 2’s complement of the input binary numbers.a) Complete the following truth table. A, B, C, D indicate the input binary number to be complement- ed using 2’s complement and W, X, Y, Z represent the output 2’s complement of the input binary number. The variable D is the least significant bit and A is the most significant bit of the binary number.b) Simplify the Boolean function W in its Sum-of-Products (SOP) form using a K-Map (you do not have to show the circuit) and provide its simplified Boolean expression.c) Show that the Boolean function W can be realized using exclusive-OR (XOR) gates and OR gates draw its corresponding logic circuit.d) Simplify the Boolean function Z in its Product-of-Sums (POS) form using a K-Map, provide its simplified Boolean expression and draw its corresponding logic circuit.arrow_forwardGiven the function F(x,y,z)= y +x′za. Expand F to its Product-of-Maxterms formb. Implement F with NAND gates only.arrow_forward
- Introductory Circuit Analysis (13th Edition)Electrical EngineeringISBN:9780133923605Author:Robert L. BoylestadPublisher:PEARSONDelmar's Standard Textbook Of ElectricityElectrical EngineeringISBN:9781337900348Author:Stephen L. HermanPublisher:Cengage LearningProgrammable Logic ControllersElectrical EngineeringISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
- Fundamentals of Electric CircuitsElectrical EngineeringISBN:9780078028229Author:Charles K Alexander, Matthew SadikuPublisher:McGraw-Hill EducationElectric Circuits. (11th Edition)Electrical EngineeringISBN:9780134746968Author:James W. Nilsson, Susan RiedelPublisher:PEARSONEngineering ElectromagneticsElectrical EngineeringISBN:9780078028151Author:Hayt, William H. (william Hart), Jr, BUCK, John A.Publisher:Mcgraw-hill Education,





