Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica Plotting Question

  1. Mar 8, 2007 #1
    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,

    Attached Files:

  2. jcsd
  3. Mar 8, 2007 #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.

    Attached Files:

  4. Mar 8, 2007 #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.

    Attached Files:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook