Jump to content

University of Florida/Egm4313/s12.teamboss/R7

From Wikiversity

Report 7

Problem R7.1: Determining Orthogonality

[edit | edit source]

Statement

[edit | edit source]

Determine orthogonality of:


(1.0)


Where: , , , and .

Solution

[edit | edit source]

The definition of a scalar product is:

(1.1)

So, substituting the problem statement values into Eq. (1.0):

(1.2)


and:

(1.3)

Solving Eq. 1.2 first:





Because and are both integers, the sin function will always be a periodic integer varying by , meaning that and . Thus proving:

(1.0.a)



Now solving for Eq. 1.3:






Again, because is an integer, the sin function will always be a periodic integer varying by , meaning that . Thus proving:

(1.0.b)

Author

[edit | edit source]

Solved and Typed By ---Egm4313.s12.team1.durrance (talk) 16:49, 24 April 2012 (UTC)
Reviewed By - Egm4313.s12.team1.armanious (talk) 23:48, 24 April 2012 (UTC)


Problem R7.2: Truncated Series

[edit | edit source]

Statement

[edit | edit source]

Plot the truncated-series (3) p19-12 with n=5, and for:

(2.0)

(2.1)

Solution

[edit | edit source]

Let it be stated first that (3) p.19-12 is equal to:

(2.2)

And in this series representation, c=3, L=2, and . is equaled to this:

(2.3)

With this in mind, we are prepared to create these truncated-series.
For


(2.4)









These simplify below as shown, after plugging in 3 for c, 10, for L, .5 for alpha, and the value of as determined from (2.2).


(2.5)



Making equal to , the graph appears as shown below.

Alpha = .5
For

These simplify below as shown, after plugging in 3 for c, 10, for L, 1 for alpha, and the value of as determined from (2.2).


(2.6)



Making equal to , the graph appears as shown below.

Alpha = 1

For

These simplify below as shown, after plugging in 3 for c, 10, for L, 1.5 for alpha, and the value of as determined from (2.2).


(2.7)



Making equal to , the graph appears as shown below.
Alpha = 1.5
For

These simplify below as shown, after plugging in 3 for c, 10, for L, 2 for alpha, and the value of as determined from (2.2).


(2.8)



Making equal to , the graph appears as shown below.

Alpha = 2

Author

[edit | edit source]

Solved and Typed By - Egm4313.s12.team1.silvestri (talk) 19:01, 23 April 2012 (UTC)

Reviewed By - Egm4313.s12.team1.armanious (talk) 19:40, 25 April 2012 (UTC)


Problem R7.3 Scalar Product, Magnitude, and Angles of Functions

[edit | edit source]

Statement

[edit | edit source]

Find the scalar product <f,g>, the magnitude of f and g, and the angle between f and g for (see R7.3 Lect. 11-1 pg. 8):

1)
2)

Solution

[edit | edit source]

The scalar product, the function equivalent of the vector dot product, of two functions can be found in the following way:

(3.0)

The magnitude of a function is defined as the square root of the scalar product between the function and itself:

(3.1)

The cosine of the angle between two functions can be found in the following way:

(3.2)

Note that these equations are very similar to their vector counterparts.
Part 1

(3.3)

The scalar product of f and g can be found using (3.0):

(3.4)

Solving this yields the scalar product:

(3.5)

To find the magnitude of f, the scalar product of f with itself must first be found:

(3.6)

Solving this yields:

(3.7)

Therefore the magnitude of f is found to be:

(3.8)

A similar approach can be taken for the magnitude of g:

(3.9)

(3.10)

(3.11)

Using the above information with (3.2), the cosine of the angle between f and g is found to be

(3.12)

Therefore, the angle between the functions f and g is

(3.13)

Part 2

(3.14)

The scalar product of f and g can be found using (3.0):

(3.15)

Solving this yields the scalar product:

(3.16)

To find the magnitude of f, the scalar product of f with itself must first be found:

(3.17)

Solving this yields:

(3.18)

Therefore the magnitude of f is found to be:

(3.19)

A similar approach can be taken for the magnitude of g:

(3.20)

(3.21)

(3.22)

Using the above information with (3.2), the cosine of the angle between f and g is found to be

(3.23)

Because the scalar product of the two functions is zero, the two functions are orthogonal. That is:

(3.24)

Author

[edit | edit source]

Solved and Typed By - Egm4313.s12.team1.armanious (talk) 23:48, 21 April 2012 (UTC)

Reviewed By - --Egm4313.s12.team1.stewart (talk) 02:22, 25 April 2012 (UTC)


Problem R7.4 The Fourier Series and Plotted Functions

[edit | edit source]

Statement

[edit | edit source]

From Lecture 11 Pg. 8 Do K 2011 p.482 pb.6,9,12,13. Problems 6 and 12 ask to graph the function and the Fourier series of the function below (4.1).

(4.1)

Problems 9 and 13 ask to graph the function and Fourier series of the function below (4.2).

(4.2)

Solution

[edit | edit source]

For Question number 6, plotted using Wolfram Alpha. The Function 4.1
For Question number 9, plotted using Matlab. The Function 4.2

Question 12 asks for the Fourier series of equation 4.1, which is an even function because , and because it is even . So the Fourier looks like this:

(4.3)

In which and:

(4.4)

(4.5)

(4.6)

These simplify to:

(4.7)

(4.8)

(4.9)

(4.10)

The final answer:

(4.11)

Plotted with Wolfram Aplpha Fourier Series of Function 4.1

Now the Fourier series of equation 4.2, we need to divide the function into two parts. First let's evaluate , which is an odd function because . For an odd function so:

(4.12)

(4.13)

Which simplifies to:

(4.14)

The Fourier Series for just the top part of equation 4.2

(4.15)

Now the bottom part of equation 4.2 is neither even nor odd so we must add all the components and at the end combine the solution with the Fourier series for the top part of equation 4.2

(4.16)

(4.17)

(4.18)

(4.19)

(4.20)

(4.21)

The Fourier Series of .

(4.22)

Combining with the Fourier Series of :

(4.23)

The total series and final answer:

(4.24)

Plotted with Wolfram Alpha Fourier Series of Function 4.2

Author

[edit | edit source]

Solved and Typed By - --Egm4313.s12.team1.stewart (talk) 02:22, 25 April 2012 (UTC)

Reviewed By - Egm4313.s12.team1.essenwein (talk) 16:50, 25 April 2012 (UTC)


Problem R7.5 Approximation by Trigonometric Series

[edit | edit source]

Statement

[edit | edit source]

Consider equation (5.0) below:

(5.0)

1) Find the exact integration of equation (5.0) with , , .
2) Confirm the result with Matlab's trapz command for the trapezoidal rule.

Solution

[edit | edit source]

1) Substituting the given values, we get equation (5.1) below:

(5.1)

Using the product and sum trigonometry identities, we can evaluate the definite integral:

(5.2)

(5.3)

Also, , and substituting this into equation (5.3) allows the definite integral to be solved:

(5.4)

2) The following is the code for evaluating the definite integral in equation (5.1) in Matlab:

EDU>> X = 0:pi/100:2*pi;
EDU>> Y = sin(2*X).*sin(3*X);
EDU>> Z = trapz(X,Y)

Z =

 -2.2633e-17

EDU>> plot(X,Y)

The returned value of the evaluated integral in Matlab is essentially equal to zero, and it can be seen in the graph that the areas under the curve cancel each other out.

Author

[edit | edit source]

Solved and Typed By - Egm4313.s12.team1.wyattling

Reviewed By - Egm4313.s12.team1.rosenberg


Contributing Members

[edit | edit source]
Team Contribution Table
Problem Number Lecture Assigned To Solved By Typed By Proofread By
7.1 R7.1 Lect. 19c-1 pg. 10 Jesse Durrance Jesse Durrance Jesse Durrance George Armanious
7.2 R7.2 Lect. 19c-1 pg. 13 Emotion Silvestri Emotion Silvestri Emotion Silvestri George Armanious
7.3 R7.3 Lect. 11-1 pg. 8 George Armanious George Armanious George Armanious Chris Stewart
7.4 R7.4 Lect. 11-1 pg.8 Chris Stewart Chris Stewart Chris Stewart Eric Essenwein
7.5 R7.5 Lect. 12-1 pg. 8 Wyatt Ling Wyatt Ling Wyatt Ling Steven Rosenberg