Estimating "e"
Game Introduction
e^x = 1 + x + (x^2 / 2!) + (x^3 / 3!) + (x^4 / 4!) … Or in this case: e = 2 + (1 / 2!) + (1 / 3!) + (1 / 4!) … e ≈ 2.7182818 This project was originally created to estimate the value of e^1 (or just "e"). "e" is an irrational number, as it's digits never end, like π. Due to variables and lists rounding to the 100th and 1,000,000,000,000,000th place respectively, it only shows that many digits. Rounding to 1 quadrillionth may seem like a lot, but it really isn't! :P Even so, the code is programmed to infinitely find a more and more accurate value, but it just can't display it. If you don't know what "(number)!" means, "!" stands for factorial. A number's factorial is the number times the number minus 1, times the number minus 2, times the number minus 3, until the number minus the other equals 1... or in math form: n! = n * (n - 1) * (n - 2) * (n - 3) … * (n - n + 1) In case you didn't know, n - n + 1 = 1 :) So 5! = 5 * 4 * 3 * 2 * 1 = 120 4! = 4 * 3 * 2 * 1 = 24 6! = 6 * 5 * 4 * 3 * 2 * 1 = 720 It's a bit hard to understand at first, but you'll catch on eventually. Since there is no "( )!" block, I had to make my own, which really wasn't that hard, but I still didn't find it annoying Scratch doesn't have it yet. Also, this is 0s1s-able, but I made separated the factorial script with the rest in case anyone needed a "( )!" block. :) If you're curious about what "e" is: http://en.wikipedia.org/wiki/Exponential_function Wow, this is a really long "Notes and Credits" section. :P
How To Play
Author
TGSgames
Category
Game Information
Game Popularity
205 views
Collection Count
3 favorites