Mathematica Plotting Question

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

  • N Layer Model.nb
    42.9 KB · Views: 247
  • #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

  • N Layer Model.nb
    4 KB · Views: 227
  • #3
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

  • quickdemo.nb
    50.7 KB · Views: 258

Suggested for: Mathematica Plotting Question

Replies
1
Views
772
Replies
3
Views
1K
Replies
1
Views
446
Replies
5
Views
2K
Replies
3
Views
1K
Replies
1
Views
887
Replies
2
Views
929
Replies
1
Views
687
Back
Top