I made a simple server side script that calculates the Fibonacci sequence up to 10,000. *NOTE It takes awhile to calculate, about 10 MB of downloading data to be closer to the truth http://triclopspowder.x10.mx/Default.cgi
the fibbonacci sequence is the sequence of numbers, starting at 1 and 0, which is equal to the sum of the 2 previous numbers 0+1 = 1 1+1 = 2 1+2 = 3 2+3 = 5 etc.
I don't know if anyone here knows the Program "Turing" (it's basically like any other programming language except its rather simple) but i actually made a program that calculates the Fibbonacci sequence to a user specified number (up to a max of 16) and then calculates the "Golden Ratio" (mathematically known as "phi"), for those who don't know the nuber is 1.618.
I don't know if anyone here knows the Program "Turing" (it's basically like any other programming language except its rather simple) but i actually made a program that calculates the Fibbonacci sequence to a user specified number (up to a max of 16) and then calculates the "Golden Ratio" (mathematically known as "phi"), for those who don't know the nuber is 1.618.
You mean that you made a program that uses the fibonacci sequence to calculate the golden ratio or just that you made a program that perform those actions independently?
Here is a crude haskell version of the golden ratio.
golden' x y = if y == 0 then 1.0/x + 1 else golden' (1.0/x + 1.0) (y - 1)
where x is the starting division(example 2) variable and y is how many times it should perform the calculation. This one is just Double precision tho.