Fibbonacci

  • triclops200
    29th Aug 2010 Former Staff 0 Permalink
    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
  • plypencil
    29th Aug 2010 Member 0 Permalink
    Wow nice, I would appreciate a basic explanation of what it is?

    (without being reffered to wikipedia)
  • triclops200
    29th Aug 2010 Former Staff 0 Permalink
    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.
  • Felix
    29th Aug 2010 Member 0 Permalink
    A example haskell program to accomplish that.
    fibs' = 0 : 1 : zipWith (+) fibs' (tail fibs')

    Just a FYI
  • Aizria
    29th Aug 2010 Member 0 Permalink
    Fibbonacci? 233.
  • Awesan
    29th Aug 2010 Member 0 Permalink
    Excimer-Sun-Software What's that supposed to mean?
  • Admiral-165
    29th Aug 2010 Member 0 Permalink
    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.
  • Felix
    29th Aug 2010 Member 0 Permalink
    Awesan:
    Excimer-Sun-Software What's that supposed to mean?

    It is the 13:th or 14:th fibonacci number.
  • zc00gii
    29th Aug 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • Felix
    29th Aug 2010 Member 0 Permalink
    Admiral-165:
    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.