EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 9780100254145
Author: Chapra
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 19, Problem 6P

Construct amplitude and phase line spectra for Prob. 19.4.

Expert Solution & Answer
Check Mark
To determine

To graph: The amplitude and phase line spectra for the sawtooth wave as shown in the following figure,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 19, Problem 6P , additional homework tip  1

Explanation of Solution

Given Information: The sawtooth wave given in the following figure,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 19, Problem 6P , additional homework tip  2

Formula used:

Consider f(t) is a periodic function with period T defined in the interval 0xT

then the Fourier series expansion of the function,

f(t)=a0+k=1[akcos(kω0t)+bksin(kω0t)] with ω0=2πT.

And the coefficients are defined by,

a0=1T0Tf(t)dt;ak=2T0Tf(t)cos(kω0t)dt;bk=2T0Tf(t)sin(kω0t)dt

Alternatively, the Fourier series can also be written as, f(t)=a0+k=1[ckcos(kω0tϕk)]

Here, the amplitude ck and phase ϕk for each term is defined as,

ck2=ak2+bk2,ϕk=tan1(bkak)

Plot ck and ϕk in the frequency domain to plot the amplitude and phase line spectra.

Graph:

Consider the sawtooth wave given in the following figure,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 19, Problem 6P , additional homework tip  3

Therefore, the sawtooth wave is a periodic function f(t) with period T in the interval 0tT and from the graph,

f(t) is a straight line joining the points (0,0) and (T2,1) in 0tT2.

f(t) is a straight line joining the points (T2,1) and (T,0) in T2tT.

Therefore, the sawtooth wave,

f(t)={2Tt0tT222TtT2tT

Therefore, the Fourier series expansion of this function is,

f(t)=a0+k=1[akcos(kω0t)+bksin(kω0t)];ω0=2πT

In the above expression, the coefficients are defined by,

Now, find ak.

ak=2T0Tf(t)cos(2kπTt)dt=2T0T2(2Tt)cos(2kπTt)dt+2TT2T(22Tt)cos(2kπTt)dt=4T20T2tcos(2kπTt)dt+4TT2Tcos(2kπTt)dt4T2T2Ttcos(2kπTt)dt

Consider,

I=tcos(2kπTt)dt=tcos(2kπTt)dt{ddt(t)cos(2kπTt)dt}dt=tT2kπsin(2kπTt)T2kπsin(2kπTt)dt=Tt2kπsin(2kπTt)+T24k2π2cos(2kπTt)

Hence,

0T2tcos(2kπTt)dt=[Tt2kπsin(2kπTt)+T24k2π2cos(2kπTt)]0T2=T2kπT2sin(2kπTT2)+T24k2π2cos(2kπTT2)T24k2π2cos(0)=T24kπsin(kπ)+T24k2π2cos(kπ)T24k2π2=T24k2π2(1)kT24k2π2

Further,

T2Tcos(2kπTt)dt=T2kπsin(2kπTt)|T2T=T2kπ{sin(2kπ)sin(kπ)}=0

T2Ttcos(2kπTt)dt=[Tt2kπsin(2kπTt)+T24k2π2cos(2kπTt)]T2T=T22kπsin(2kπ)+T24k2π2cos(2kπ)T24kπsin(kπ)T24k2π2cos(kπ)=T24k2π2T24k2π2(1)k

Therefore,

ak=4T2[T24k2π2(1)kT24k2π2]+4T×04T2[T24k2π2T24k2π2(1)k]=1k2π2(1)k+1k2π21k2π2+1k2π2(1)k=0

Now, find bk.

bk=2T0Tf(t)sin(2kπTt)dt=2T0T2(2Tt)sin(2kπTt)dt+2TT2T(22Tt)sin(2kπTt)dt=4T20T2tsin(2kπTt)dt+4TT2Tsin(2kπTt)dt4T2T2Ttsin(2kπTt)dt

Consider,

I=tsin(2kπTt)dt=tsin(2kπTt)dt{ddt(t)sin(2kπTt)dt}dt=tT2kπcos(2kπTt)+T2kπcos(2kπTt)dt=Tt2kπcos(2kπTt)+T24k2π2sin(2kπTt)

Hence,

0T2tsin(2kπTt)dt=[Tt2kπcos(2kπTt)+T24k2π2sin(2kπTt)]0T2=T24kπcos(kπ)+T24k2π2sin(kπ)=T24kπ(1)k

T2Tsin(2kπTt)dt=T2kπcos(2kπTt)|T2T=T2kπcos(2kπ)+T2kπcos(kπ)=T2kπ+T2kπ(1)k

Further,

T2Ttsin(2kπTt)dt=[Tt2kπcos(2kπTt)+T24k2π2sin(2kπTt)]T2T=T22kπcos(2kπ)+T24k2π2sin(2kπ)+T24kπcos(kπ)T24k2π2sin(kπ)=T22kπ+T24kπ(1)k

Thus,

bk=4T2[T24kπ(1)k]+4T[T2kπ+T2kπ(1)k]4T2[T22kπ+T24kπ(1)k]=1kπ(1)k2kπ+2kπ(1)k+2kπ1kπ(1)k=2kπ(1)k

Hence, the coefficients of the Fourier series expansions are,

a0=0,ak=0,bk=2kπ(1)k

That is,

bk={2kπ>0k even2kπ<0k odd

Consider,

ck=ak2+bk2=0+4k2π2(1)2k=4k2π2=2kπ

Thus, the amplitude of the kth term is 2kπ, that is, the amplitudes for k=1,2,3,4,5,... are,

2π,1π,23π,12π,25π,...

Furthermore, consider,

ϕk=tan1(bkak)

As ak=0 and bk>0 for even k thus,

ϕk=π2

As ak=0 and bk<0 for odd k thus,

ϕk=π2

Therefore,

ϕk={π2k evenπ2k odd

Thus, the phases corresponding to k=1,2,3,4,5,... are π2,π2,π2,π2,π2,...

Use the following MATLAB code to construct the amplitude plot.

function Code_97924_19_6P_a()

for k = 1: 8

f(k) = k;

% define the amplitude

A(k) = 2/(k*pi);

end

% plot the values thus obtained

stem(f,A,'filled','LineWidth',4,'Color','k','Marker', 'none');

% define geometric properties

set(gca,'XTickLabel',{' ' 'f_0' 'f_1' 'f_2' 'f_3' 'f_4' 'f_5' 'f_6' 'f_7'});

set(gca,'YTick',[A(8) A(4) A(2) A(1)]);

set(gca,'YTickLabel',{'1/4\pi' '1/2\pi' '1/\pi' '2/\pi'});

set(gca,'Fontname','Times New Roman','FontSize',12);

xlim([0, 9]); grid on

end

Execute the above code to obtain the amplitude plot as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 19, Problem 6P , additional homework tip  4

Interpretation: The above plot shows the amplitude plot for the sawtooth wave as shown in the figure provided.

Use the following MATLAB file can be used to construct the phase plot.

function Code_97924_19_6P_b()

for k = 1: 8

f(k) = k;

% define the phase

P(k) = (-1)^k*(pi/2);

end

% plot the values thus obtained

stem(f,P,'filled','LineWidth',4,'Color','k','Marker', 'none');

% define geometric properties

set(gca,'XTickLabel',{' ' 'f_0' 'f_1' 'f_2' 'f_3' 'f_4' 'f_5' 'f_6' 'f_7'});

set(gca,'YTick',[-pi -pi/2 0 pi/2 pi]);

set(gca,'YTickLabel',{'-\pi' '-\pi/2' '0' '\pi/2' '\pi'});

set(gca,'Fontname','Times New Roman','FontSize',12);

xlim([0, 9]); grid on

ylim([-pi-0.1, pi+0.1]); grid on

end

Execute the above code to obtain the plot as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 19, Problem 6P , additional homework tip  5

Interpretation: The above plot shows the phase line spectra for the sawtooth wave as shown in the figure provided.

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
Design a Turing Machine recognizing each of the following languages and draw its state diagram. Note that the transition functions of the Turing Machine must be in the format of “a → b,L/R", namely the machine reads single symbol a from the tape, writes single symbol b to the cell to replace a, and then goes to either left L or right R. You will receive 0 point if you do not follow this instruction. (1) {w|w=a²b³, n ≥ 0} (2) {w|w=a'b³,i0} (3) {w|w a'bick,i
Design a PDA recognizing each of the following languages and draw its state diagram. Note that the transition function must be in the format of “a, b →c", namely we can only push/pop one symbol into/from the stack one time upon one input symbol. You will receive 0 point if you push/pop multiple symbols into/from the stack one time upon one input symbol. (1) {w|wa"b", n is odd} = (2) {w|w=w², length of w is odd and Σ = {a,b} } (3) {w|w= = a²b²n, n ≥1 } (4) {w|w= =a^bn+mcm, n≥0, m ≥ 1 } (5) {w|w=a²b³n, n≥0} (6) {w|w= = a¹³, n ≥ 1, m≥ 1 and n‡m } Hint: two cases: n > m and n
[) Hwk 29 ✗ WHwk 30 (MA 244-03) (SP X - Logout Cengage Learning X MA244-03 Syllabus_Sprin X b Answered: [) Hwk 29 Hwk X https://www.webassign.net/web/Student/Assignment-Responses/last?dep=36606609 4. [-/3 Points] DETAILS MY NOTES LARLINALG8 7.4.013. Solve the system of first-order linear differential equations. (Use C1 and C2 as constants.) Y1' = -4Y1 Y2' = -12 (y1(t), Y2(t)) = ( 3 Need Help? Read It SUBMIT ANSWER 5. [-/3 Points] DETAILS MY NOTES LARLINALG8 7.4.019. Solve the system of first-order linear differential equations. (Use C1, C2, C3, and C4 as constants.) Y1' = 6y1 Y2' = 2y2 Y3' = -643 Y4' = -2y4 = (y1(t), y2(t), y3(t), Y4(t)) = Need Help? Read It SUBMIT ANSWER G Use the Principal Axes The X G cot(0) - Google Search ☑ B 90% + ASK YOUR TEACHER PRACTICE ANOTHER ill ASK YOUR TEACHER PRACTICE ANOTHER 6. [-/4 Points] DETAILS MY NOTES LARLINALG8 7.4.023. Solve the system of first-order linear differential equations. (Use C1 and C2 as constants.) ASK YOUR TEACHER Y1' = Y1 + 5y2 Y2'…
Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781337278461
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Correlation Vs Regression: Difference Between them with definition & Comparison Chart; Author: Key Differences;https://www.youtube.com/watch?v=Ou2QGSJVd0U;License: Standard YouTube License, CC-BY
Correlation and Regression: Concepts with Illustrative examples; Author: LEARN & APPLY : Lean and Six Sigma;https://www.youtube.com/watch?v=xTpHD5WLuoA;License: Standard YouTube License, CC-BY