Feigenbaum constant calculation: Difference between revisions

Content added Content deleted
Line 1,235: Line 1,235:


=={{header|M2000 Interpreter}}==
=={{header|M2000 Interpreter}}==
Using decimal type (26 decimal places) is better for this calculation (this has the same output as FORTRAN). Variable maxitj can be change to lower values when the i get higher value. Although we can't go lower than 2. So here we can start with 13, and lower to 2 for 18th iteration of i
Using decimal type (26 decimal places) is better for this calculation (this has the same output as FORTRAN). Variable maxitj can be change to lower values when the i get higher value. Although we can't go lower than 2. So here we can start with 13, and lower to 2 for 16th iteration of i


<syntaxhighlight lang="m2000 interpreter">
<syntaxhighlight lang="m2000 interpreter">