Mathematica Plotting Question

  • Mathematica
  • Thread starter natski
  • Start date
  • #1
267
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

Answers and Replies

  • #2
267
2
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

  • #3
1,250
2
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

Related Threads on Mathematica Plotting Question

Replies
3
Views
5K
Replies
1
Views
5K
Replies
2
Views
3K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
9
Views
15K
Replies
1
Views
748
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
1
Views
2K
Top