06-26-2003, 11:57 PM
Quote:Well, in the line of Antoni's, here's my very own fibonnaci series callculator:Excellent na-th-an! Here again we have a brilliant recursive function.
Code:FUNCTION fibonacci& (n&)
IF n& < 2 THEN fibonacci& = 1 ELSE fibonacci& = fibonacci&(n& - 1) + fibonacci&(n& - 2)
END FUNCTION
How many of you know what a Fibonacci series is? It's a series where any number in the series is the sum of the two preceding numbers., i.e., 1,1,2,3,5,8,13 .....
What would you use a Fibonacci series for? What is a practical use?
*****