Looking for simple iteration method

  • Thread starter Thread starter dmehling
  • Start date Start date
  • Tags Tags
    Method
AI Thread Summary
The discussion focuses on finding a simple method for performing iterations using the equation z^2 + c, without needing complex numbers. The basic iterative process involves setting an initial value for z, evaluating the equation, and storing the result to continue the loop until |z| exceeds a certain threshold, typically 2. Suggestions include using a spreadsheet for tabular results and referencing methods like Newton's for solving equations. The user expresses a lack of programming experience and seeks the easiest implementation method. Overall, the conversation emphasizes the need for a straightforward approach to iterative calculations.
dmehling
Messages
114
Reaction score
0
I'm looking for an easy way to perform simple iterations. For example using the equation: z^2 + c, although I don't need it to do complex numbers. Also, I would like the iterations to be listed in tabular form.
 
Mathematics news on Phys.org
It isn't very clear what you are asking. Iterations to do what? Solve f(x) = 0 by iteration?? Something like Newton's method? If you want results in a tabular form a spreadsheet might be just the ticket.
 
I think you might be the same person who asked about the Mandelbrot set. What you want to do is this

Set c.
  1. Set z with an initial value.
  2. Evaluate z^2 + c.
  3. Store the value of the previous step in z.
  4. Go to step 2.
This is the basic idea, but it is oversimplified, and is an infinite loop. What you are doing is getting a sequence z0, z1, z2, ...To keep the loop from iterating forever, you want to exit the loop when |z| gets above a certain size. It's been a while since I looked at any Mandelbrot algorithms, but maybe the cutoff is |z| >= 2.

Hope this helps.
 
Yes, that is what I need to do. However, I'm not sure how I would actually implement this. I have no real experience in programming. I am looking for the easiest way of doing it.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...

Similar threads

Back
Top