Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on page /iteration.html (power/fixed point) #33

Open
jonocarroll opened this issue Oct 29, 2023 · 1 comment
Open

Issue on page /iteration.html (power/fixed point) #33

jonocarroll opened this issue Oct 29, 2023 · 1 comment

Comments

@jonocarroll
Copy link

The example of finding a function's fixed point using ⍣= confused me

2÷=10  Divide by 2 until we reach a fixed point

I understand that ⍣= will keep evaluating until the result no longer changes, but 10 (or any number) repeatedly divided by 2 only asymptotes to 0

      2÷110
5
      2÷210
2.5
      2÷1010
0.009765625
      2÷10010
7.888609052E¯30

so (I think) it only returns 0 because it loses precision.

I tried to find another more useful example. Application of the Collatz Conjecture always reaches 1, so that's perhaps not so interesting.

I suspect the canonical example of the Golden Ratio is more illuminating

      +÷11
2
      +÷21
1.5
      +÷31
1.666666667
      +÷=1
1.618033989
@xpqz
Copy link
Owner

xpqz commented Nov 10, 2023

Fair. Once 19.0 is out, I hope to do a wash up review. Thanks for taking the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants