FUND.OF ELECTRIC CIRCUITS(LL)-W/CONNECT
FUND.OF ELECTRIC CIRCUITS(LL)-W/CONNECT
6th Edition
ISBN: 9781264773305
Author: Alexander
Publisher: MCG CUSTOM
bartleby

Concept explainers

Question
Book Icon
Chapter 17, Problem 20P
To determine

Find the Fourier series for the signal shown in Figure 17.58 and verify it using MATLAB and find the value of f(t) at t=2 using the first three nonzero harmonics.

Expert Solution & Answer
Check Mark

Answer to Problem 20P

The Fourier series f(t) for the signal in Figure 17.58 is 5+60π2n=1(1n2(cos(2nπ3)cos(nπ3)))cos(nπ3)t and the value of f(2) is 9.512.

Explanation of Solution

Given data:

Refer to Figure 17.58 in the textbook.

Formula used:

Write the expression to calculate the fundamental angular frequency.

ω0=2πT        (1)

Here,

T is the period of the function.

Write the general expression to calculate trigonometric Fourier series of f(t).

f(t)=a0+n=1(ancosnω0t+bnsinnω0t)        (2)

Here,

a0 is the dc component of f(t),

an and bn are the Fourier coefficients,

n is an integer, and

ω0 is the angular frequency.

Calculation:

The given waveform is drawn as Figure 1.

FUND.OF ELECTRIC CIRCUITS(LL)-W/CONNECT, Chapter 17, Problem 20P , additional homework tip  1

Refer to Figure 1, the waveform is symmetrical about the vertical axis. The signal f(t) is fold about t=0 that is the waveform is unchanged under reflection in the y-axis. Therefore, the waveform is called as an even function and it is expressed as,

f(t)=f(t)

Write the expressions for Fourier coefficients for an even function.

a0=2T0T2f(t)dt        (3)

an=4T0T2f(t)cosnω0tdt        (4)

bn=0

Refer to the Figure 1. The Fourier series even function of the waveform is defined as,

f(t)={0, 0<t<110t10, 1<t<210, 2<t<410t+50, 4<t<50, 5<t<6

The time period of the function in Figure 1 is,

T=6

Substitute 6 for T in equation (1) to find ω0.

ω0=2π6=π3

Substitute 6 for T in equation (3) to find a0.

a0=26062f(t)dt=1303f(t)dt=13(01f(t)dt+12f(t)dt+23f(t)dt)=13(010dt+12(10t10)dt+2310dt)

Simplify the above equation to find a0.

a0=13(0+[10t2210t]12+[10t]23)=13(10[(2222)(1221)]+10[32])=13(10[(0)+12]+10(1))=5

Substitute 6 for T and π3 for ω0 in equation (4) to find an.

an=46062f(t)cosn(π3)tdt=23(01f(t)cos(nπ3)tdt+12f(t)cos(nπ3)tdt+23f(t)cos(nπ3)tdt)=23(01(0)cos(nπ3)tdt+12(10t10)cos(nπ3)tdt+2310cos(nπ3)tdt)=23(0+1210tcos(nπ3)tdt1210cos(nπ3)tdt+2310cos(nπ3)tdt)

Simplify the above equation to find an.

an=23(1012tcos(nπ3)tdt10[sin(nπ3)t(nπ3)]12+10[sin(nπ3)t(nπ3)]23)=23(1012tcos(nπ3)tdt10(3nπ)[sin(nπ3)(2)sin(nπ3)(1)]+10(3nπ)[sin(nπ3)(3)sin(nπ3)(2)])=23(1012tcos(nπ3)tdt30nπ[sin(2nπ3)sin(nπ3)]+30nπ[sinnπsin(2nπ3)])=23(1012tcos(nπ3)tdt30nπ[sin(2nπ3)sin(nπ3)]+30nπ[0sin(2nπ3)]) {sinnπ=0}

Simplify the above equation to find an.

an=23(1012tcos(nπ3)tdt30nπsin(2nπ3)+30nπsin(nπ3)30nπsin(2nπ3))

an=23(1012tcos(nπ3)tdt60nπsin(2nπ3)+30nπsin(nπ3))        (5)

Assume the following to reduce the equation (5).

x=12tcos(nπ3)tdt        (6)

Substitute the equations (6) in equation (5) to find an.

an=23(10x60nπsin(2nπ3)+30nπsin(nπ3))        (7)

Consider the following integration formula.

abudv=[uv]ababvdu        (8)

Compare the equations (6) and (8) to simplify the equation (6).

u=t dv=cos(nπ3)tdtdu=dt v=sin(nπ3)t(nπ3)

Using the equation (8), the equation (6) can be reduced as,

x=12tcos(nπ3)tdt=[(t)sin(nπ3)t(nπ3)]1212sin(nπ3)t(nπ3)dt=3nπ[(2)sin(nπ3)(2)(1)sin(nπ3)(1)]3nπ12sin(nπ3)tdt=3nπ[2sin(2nπ3)sin(nπ3)]3nπ[cos(nπ3)t(nπ3)]12

Simplify the above equation to find x.

x=3nπ[2sin(2nπ3)sin(nπ3)]+3nπ(3nπ)[cos(nπ3)(2)cos(nπ3)(1)]=6nπsin(2nπ3)3nπsin(nπ3)+9n2π2cos(2nπ3)9n2π2cos(nπ3)

Substitute (6nπsin(2nπ3)3nπsin(nπ3)+9n2π2cos(2nπ3)9n2π2cos(nπ3)) for x in equation (7) to find an.

an=23(10(6nπsin(2nπ3)3nπsin(nπ3)+9n2π2cos(2nπ3)9n2π2cos(nπ3))60nπsin(2nπ3)+30nπsin(nπ3))=23(60nπsin(2nπ3)30nπsin(nπ3)+90n2π2cos(2nπ3)90n2π2cos(nπ3)60nπsin(2nπ3)+30nπsin(nπ3))=23(90n2π2)(cos(2nπ3)cos(nπ3))=60n2π2(cos(2nπ3)cos(nπ3))

Substitute 5 for a0, 60n2π2(cos(2nπ3)cos(nπ3)) for an, 0 for bn, and π3 for ω0 in equation (2) to find f(t).

f(t)=5+n=1((60n2π2(cos(2nπ3)cos(nπ3)))cosn(π3)t+(0)sinn(π3)t)=5+n=1((60n2π2(cos(2nπ3)cos(nπ3)))cos(nπt3)+0)=5+n=1(60n2π2(cos(2nπ3)cos(nπ3)))cos(nπt3)

f(t)=5+n=160π2n2(cos(2nπ3)cos(nπ3))cos(nπt3)        (9)

Following includes the MATLAB code to obtain the waveform in Figure 1 using the obtained function f(t).

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 f(t), is shown in below Figure 1.

FUND.OF ELECTRIC CIRCUITS(LL)-W/CONNECT, Chapter 17, Problem 20P , additional homework tip  2

Substitute 2 for t in equation (9) to find f(2).

f(2)=5+60π2n=1(1n2(cos(2nπ3)cos(nπ3)))cos(2nπ3)=5+60π2((1(1)2(cos(2(1)π3)cos((1)π3)))cos(2(1)π3)+(1(2)2(cos(2(2)π3)cos((2)π3)))cos(2(2)π3)+(1(3)2(cos(2(3)π3)cos((3)π3)))cos(2(3)π3)+(1(4)2(cos(2(4)π3)cos((4)π3)))cos(2(4)π3)+(1(5)2(cos(2(5)π3)cos((5)π3)))cos(2(5)π3)+)=5+60π2(((cos(2π3)cos(π3)))cos(2π3)+(14(cos(4π3)cos(2π3)))cos(4π3)+(19(cos2πcosπ))cos2π+(116(cos(8π3)cos(4π3)))cos(8π3)+(125(cos(10π3)cos(5π3)))cos(10π3)+)=5+6.07927(0.5+0+0.2222+0+0.02+)

Simplify the above equation to find f(2).

f(2)=5+6.07927(0.7422)=9.512

Write the MATLAB code to find f(2) as follows.

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 f(2) as,

9.5122

This output is approximately satisfied with calculated value of f(2).

Conclusion:

Thus, the Fourier series f(t) for the signal in Figure 17.58 is 5+60π2n=1(1n2(cos(2nπ3)cos(nπ3)))cos(nπ3)t and it is verified using MATLAB and the value of f(t) at t=2 f(2) is 9.512.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
for the following three functions, find the spectrum resulting from the Fourier transform for x(t) which is X(jw(omega))
For the continuous periodic signal x (t) = 2 cos (2π / 3 t) +4 sin (5π / 3 t) Determine the fundamental frequency wθ and the coefficients of the Fourier series ak such that...
f(x)=[-k,  -2<x<0 and k, 0<x<2]  Find the Fourier series expansion of the periodic function.

Chapter 17 Solutions

FUND.OF ELECTRIC CIRCUITS(LL)-W/CONNECT

Ch. 17.6 - Obtain the complex Fourier series expansion of...Ch. 17.7 - Prob. 12PPCh. 17.8 - Rework Example 17.14 if the low-pass filter is...Ch. 17 - Which of the following cannot be a Fourier series?...Ch. 17 - If ft=t,0t,ft+n=ft, the value of 0 is (a) 1 (b) 2...Ch. 17 - Which of the following are even functions? (a) t +...Ch. 17 - Prob. 4RQCh. 17 - Prob. 5RQCh. 17 - If f(t) = 10 + 8 cos t + 4 cos 3t + 2 cos 5t + ,...Ch. 17 - Prob. 7RQCh. 17 - The plot of |cn| versus n0 is called: (a) complex...Ch. 17 - Prob. 9RQCh. 17 - Prob. 10RQCh. 17 - Evaluate each of the following functions and see...Ch. 17 - Using MATLAB, synthesize the periodic waveform for...Ch. 17 - Given that Fourier coefficients a0, an, and bn of...Ch. 17 - Find the Fourier series expansion of the backward...Ch. 17 - Prob. 5PCh. 17 - Find the trigonometric Fourier series for f t =...Ch. 17 - Determine the Fourier series of the periodic...Ch. 17 - Using Fig. 17.51, design a problem to help other...Ch. 17 - Determine the Fourier coefficients an and bn of...Ch. 17 - Find the exponential Fourier series for the...Ch. 17 - Obtain the exponential Fourier series for the...Ch. 17 - Prob. 12PCh. 17 - Prob. 13PCh. 17 - Find the quadrature (cosine and sine) form of the...Ch. 17 - Express the Fourier series...Ch. 17 - The waveform in Fig. 17.55(a) has the following...Ch. 17 - Prob. 17PCh. 17 - Prob. 18PCh. 17 - Obtain the Fourier series for the periodic...Ch. 17 - Prob. 20PCh. 17 - Prob. 21PCh. 17 - Calculate the Fourier coefficients for the...Ch. 17 - Using Fig. 17.61, design a problem to help other...Ch. 17 - Prob. 24PCh. 17 - Determine the Fourier series representation of the...Ch. 17 - Find the Fourier series representation of the...Ch. 17 - For the waveform shown in Fig. 17.65 below, (a)...Ch. 17 - Obtain the trigonometric Fourier series for the...Ch. 17 - Prob. 29PCh. 17 - Prob. 30PCh. 17 - Prob. 31PCh. 17 - Prob. 32PCh. 17 - Prob. 33PCh. 17 - Prob. 34PCh. 17 - Prob. 35PCh. 17 - Prob. 36PCh. 17 - If the periodic current waveform in Fig. 17.73(a)...Ch. 17 - Prob. 38PCh. 17 - Prob. 39PCh. 17 - The full-wave rectified sinusoidal voltage in Fig....Ch. 17 - Prob. 42PCh. 17 - The voltage across the terminals of a circuit is...Ch. 17 - Prob. 44PCh. 17 - A series RLC circuit has R = 10 , L = 2 mH, and C...Ch. 17 - Prob. 46PCh. 17 - Prob. 47PCh. 17 - Prob. 48PCh. 17 - Prob. 49PCh. 17 - Prob. 50PCh. 17 - Prob. 51PCh. 17 - Prob. 52PCh. 17 - Prob. 53PCh. 17 - Find the exponential Fourier series for the...Ch. 17 - Obtain the exponential Fourier series expansion of...Ch. 17 - The Fourier series trigonometric representation of...Ch. 17 - Prob. 57PCh. 17 - Find the exponential Fourier series of a function...Ch. 17 - Prob. 59PCh. 17 - Obtain the complex Fourier coefficients of the...Ch. 17 - The spectra of the Fourier series of a function...Ch. 17 - Prob. 62PCh. 17 - Plot the amplitude spectrum for the signal f2(t)...Ch. 17 - Prob. 64PCh. 17 - Prob. 65PCh. 17 - Prob. 66PCh. 17 - Prob. 67PCh. 17 - Prob. 68PCh. 17 - Prob. 69PCh. 17 - Design a problem to help other students better...Ch. 17 - Prob. 71PCh. 17 - Prob. 72PCh. 17 - Prob. 73PCh. 17 - Prob. 74PCh. 17 - Prob. 75PCh. 17 - Prob. 76PCh. 17 - Prob. 77CPCh. 17 - Prob. 78CPCh. 17 - Consider the full-wave rectified sinusoidal...Ch. 17 - Prob. 82CP
Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,