Skip to main content
12-Amethyst
March 28, 2021
Solved

Fourier series example problem

  • March 28, 2021
  • 5 replies
  • 20518 views

Good day. 

 

I was hoping you could help me with my assignment on programming a fourier series analysis. 

 

Can someone teach me how to graph this on mathcad prime? I need to find the function that will replicate the attached file below. 

 

Your help would be much appreciated, since I am still learning from this software.

 

Thank you in advance and God Bless.

Best answer by ttokoro

From the help of Mathcad programming.

image.pngimage.pngimage.png

5 replies

23-Emerald I
March 28, 2021

We'd love to help!

 

Please attach your Mathcad file so we can see what you have so far.

21-Topaz II
March 28, 2021

In the attached file you will find everything required and more.

Sawtooth+sawtooth- sawtooth+-.jpg

12-Amethyst
March 28, 2021

This examples would surely help me a lot in my future references. I am still learning a lot from this software. My professor introduced me to mathcad last 3 months and I am still trying to explore these things.

 

I really appreciate your response for helping me. 

 

Thank you.

19-Tanzanite
March 28, 2021

CornelBejan_0-1616938246896.png

 

CornelBejan_2-1616938340674.png

 

 

19-Tanzanite
March 28, 2021

Mathcad Prime:

CornelBejan_0-1616939578784.png

CornelBejan_1-1616939598094.png

 

 

 

23-Emerald IV
March 28, 2021

Nice,

but, how would you proceed if you had to extend it from -100, 100...

There's a handy mathematical function, also available in Prime, that allows you to convert a running variable (like t is) to a short sequence..

It is somewhat related to division. I'll spoil your assignment no further.

Anyway, here is the result:

LucMeekes_0-1616945452887.png

 

Success!
Luc

12-Amethyst
March 28, 2021

Spoil me more, please. I am badly running out of time for my problem set. I really appreciate you for helping me out.

ttokoro
21-Topaz I
ttokoro21-Topaz IAnswer
21-Topaz I
March 29, 2021

From the help of Mathcad programming.

image.pngimage.pngimage.png

t.t.
12-Amethyst
March 29, 2021

Can i verify the variables that you used?

N is the maximum number of expansion

L is the number of period

Z is the final value of the series.

 

If possible, elaborate it for me. Thank you so much.

ttokoro
21-Topaz I
21-Topaz I
March 29, 2021

N is the maximum number of expansion: Yes.

L is the number of period                        : L is the 1/2 of the period of the fundamental waveform, in your case L=2*pi.  

Z is the final value of the series.             : Yes Real and Imaginary indexes from o to N.

 

t.t.
ttokoro
21-Topaz I
21-Topaz I
March 30, 2021

image.pngimage.pngimage.pngimage.pngimage.pngimage.pngimage.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
March 31, 2021

image.pngimage.pngimage.pngimage.pngimage.pngimage.png

t.t.
ttokoro
21-Topaz I
21-Topaz I
April 4, 2021

image.pngimage.pngimage.pngimage.pngimage.png

t.t.