Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » 10-5*2^n: You will never reach 10.
- Belankt294842
-
Scratcher
100+ posts
10-5*2^n: You will never reach 10.
Yes, I'm serious. n = Any number will make sure that it won't reach 10.
- ExtraCheeeeese
-
Scratcher
21 posts
10-5*2^n: You will never reach 10.
-♾️. Technically it's true, right? (Yes, generally variables can only be real numbers, which excludes infinity)
- TimothyLawyer
-
Scratcher
1000+ posts
10-5*2^n: You will never reach 10.
as n approaches -infinity, 2^n approaches 0 but won't actually reach it
but in scratch you can do
and get the value 10
this is due to the rules of ieee 754 which most programming languages use
but in scratch you can do
((10) - ((5) * ([e ^ v] of (((-1) / (0)) * ([ln v] of (2)::operators)))))
and get the value 10
this is due to the rules of ieee 754 which most programming languages use
- Belankt294842
-
Scratcher
100+ posts
10-5*2^n: You will never reach 10.
Can we make another function never reaches 120, and more?
- Maximouse
-
Scratcher
1000+ posts
10-5*2^n: You will never reach 10.
Can we make another function never reaches 120, and more?Yes, there are many such functions. For example, you can simply replace 10 in your original formula with 120.
- medians
-
Scratcher
1000+ posts
10-5*2^n: You will never reach 10.
Also, f(x) = {some constant not equal to 120}, g(x) = [x + 1]^2 + 120.1 if ur constrained to real x, etc.Can we make another function never reaches 120, and more?Yes, there are many such functions. For example, you can simply replace 10 in your original formula with 120.
(used g(x) bc f(x) was filtered)
Last edited by medians (Sept. 22, 2026 17:10:19)
- squishy-banana-peel
-
Scratcher
46 posts
10-5*2^n: You will never reach 10.
By the time n=-99 your already this close 9.9999999999999999999999999999921113909477898819365687074336935476097534934666969952431622915603481085
Last edited by squishy-banana-peel (Sept. 23, 2026 05:40:54)
- Discussion Forums
- » Advanced Topics
-
» 10-5*2^n: You will never reach 10.