Using a Spreadsheet to determine the Fourier Series

Click For Summary

Discussion Overview

The discussion revolves around using a spreadsheet, specifically MS Excel, to determine the Fourier Series of a given dataset. Participants explore the process of inputting data and utilizing the Fourier Analysis tool within Excel, addressing a specific homework problem related to the data presented in a figure.

Discussion Character

  • Homework-related, Technical explanation

Main Points Raised

  • One participant describes their attempt to use the Fourier Series tool in Excel, noting discrepancies between their results and those in their course notes.
  • Another participant suggests that the issue may lie in the format of the range specifications used in the Fourier Analysis tool.
  • A participant clarifies that they selected the data range using the mouse, resulting in a correctly formatted input range.
  • It is pointed out that the data points were actually located in column B, not column A, indicating a potential source of error in the initial attempt.
  • The original poster acknowledges this correction and expresses that they followed the example instructions closely, which led to confusion.
  • A later reply emphasizes the importance of closely relating to the original problem statement, suggesting that misunderstandings can arise from misinterpretation of instructions.

Areas of Agreement / Disagreement

Participants generally agree on the importance of correctly identifying data ranges in Excel, but the discussion reflects a misunderstanding regarding the location of the data, which was clarified through participant interaction.

Contextual Notes

The discussion highlights the potential for errors in data entry and interpretation of instructions, emphasizing the need for careful attention to detail when following examples.

Gremlin
Messages
91
Reaction score
0

Homework Statement



Use a spreadsheet to determine the F.S. of the data given in Fig 6

See attached for Fig 6

Homework Equations



N/A - Use the Fourier Series tool of MS Excel. Tools > Data Analysis > Fourier Series. If you don't have the Data Analysis tool loaded you can load it by going Tools > Add-ins > Analysis Tool Pack.

The Attempt at a Solution


My attempt at the solution is attached, but my results don't match the results in my course notes. I was wondering if someone could see where I am going wrong.

I open a new excel spreadsheet, enter the data of fig 6 in exactly the same cells.

Then I run the Fourier Analysis tool, my data range is cells A2-A9 and the output range is cell D2.
 

Attachments

  • Fig 6 PDF.pdf
    Fig 6 PDF.pdf
    63.2 KB · Views: 292
  • My Attempt.jpg
    My Attempt.jpg
    49.2 KB · Views: 496
Last edited:
Physics news on Phys.org
Perhaps it has something to do with the format of your range specifications? Did you enter the ranges manually, or did you use the mouse to select them so they'd be automatically constructed?
 
I selected them using the mouse, highlighting A2 and dragging down to A9, so that in the 'Input Range' cell on the Fourier analysis tool it reads: $A$2:$A$9
 
Your data points are in column B, not column A. Fix your input data range.
 
  • Like
Likes   Reactions: berkeman
You're correct.

In my defence I followed the example to the letter of the law, and that says "Next we enter the input data range (A2-A9)..."

Thanks.
 
Gremlin said:
You're correct.

In my defence I followed the example to the letter of the law, and that says "Next we enter the input data range (A2-A9)..."

Thanks.
Ha! Glad it worked out.

This is a great example of why it's always a good idea to relate the original problem statement word-for-word. Sometimes the problem is the problem!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
17
Views
6K
  • · Replies 33 ·
2
Replies
33
Views
12K
  • · Replies 6 ·
Replies
6
Views
6K