Plotting Summation Convergence in Mathematica

  • Context: Mathematica 
  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Click For Summary
SUMMARY

The discussion focuses on plotting summation convergence using Mathematica, specifically addressing the challenges of handling discrete values for the variable 'i'. The user initially attempted to replicate a method used in Excel but encountered difficulties with Mathematica's plotting capabilities. The solution involved utilizing ListPlot for discrete data and fitting a polynomial function to the results. The user successfully resolved the issue and shared their notebook for further review.

PREREQUISITES
  • Familiarity with Mathematica 12.0 plotting functions
  • Understanding of discrete versus continuous variables in mathematical contexts
  • Knowledge of polynomial fitting techniques
  • Basic proficiency in using ListPlot and mapping functions in Mathematica
NEXT STEPS
  • Explore Mathematica's ListPlot documentation for discrete data visualization
  • Learn about polynomial regression and fitting in Mathematica
  • Investigate the use of mapping functions for data transformation in Mathematica
  • Review convergence criteria for summations in mathematical analysis
USEFUL FOR

Mathematicians, data analysts, and students working with Mathematica who are interested in visualizing summation convergence and fitting polynomial functions to discrete datasets.

natski
Messages
262
Reaction score
2
Hi everyone,

I have an expression for a summation and want to find out where it converges precisely. I decided to work out the sum for i=10,100,1000 etc. I logged the results, then took the recriprocal and then plotted it as the x-axis in Excel with the y-axis as my result. (So that the y intercept gives the convergence value).

So now I want to repeat this in Mathematica. I tried plotting my summation for different values of i, but it just didn't like that one bit because i is discrete and not continuous. So firstly, how do I do this? I'm thinking ListPlot?

Secondly, I need to be able to fit a polynomial function to the result, which I also have no idea how to do. I have attached the notebook.

I really appreciate any help,
Thanks,
Natski
 

Attachments

Physics news on Phys.org
I tried to delete that last post but I couldn't. Anyway, I think I solved it the problem, a lot easier than I thought. I have attached the file again incase anyone wants to point out if my method is flawed.
 

Attachments

You wanted something like this?

Edit: Oh I see you solved it yourself. Notice, in my method I turned of the superfulous error. Your table of pairs works just like my Thread, notice I use a map function to get high powers of x.
 

Attachments

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K