Difference between revisions of "Manuals/calci/FIBONACCI"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "fibonacci")
 
Line 1: Line 1:
fibonacci
+
<div style="font-size:30px">'''FIBONNACI (NumberUpto)'''</div><br/>
 +
*<math>NumberUpto </math> is the number to find the Series.
 +
 
 +
==Description==
 +
*This function returns the Values of the Fibonnaci Series.
 +
*In <math>FIBONNACI (NumberUpto)</math>,<math>NumberUpto</math> is any positive real number.
 +
*The Fibonacci numbers are the sequence of numbers <math>{F_n}_(n=1)^infty</math> defined by the linear recurrence equation
 +
<math>F_n=F_{(n-1)}+F_{(n-2)}</math>,with <math>F_1=F_2=1</math>
 +
*The Fibonacci numbers for n=1, 2, ... are 1, 1, 2, 3, 5, 8, 13, 21, ...
 +
*When the parameter 0,then  the result as 0.
 +
*When the parameter is in Decimal,then it is truncated in to integer.
 +
*When the parameter is the negative number then it will truncated in to integer.
 +
 
 +
==Examples==
 +
#FIBONACCI(5) = 0 1 1 2 3 5
 +
#FIBONACCI(17) = 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597
 +
#FIBONACCI(8.5) = 0 1 1 2 3 5 8 13 21 34
 +
 
 +
==See Also==
 +
*[[Manuals/calci/FACT | FACT]]
 +
*[[Manuals/calci/Z_API_Functions | List of Main Z Functions]]
 +
*[[Manuals/calci/Z3 |  Z3 home ]]
 +
 
 +
==References==
 +
*[http://mathworld.wolfram.com/FibonacciNumber.html Fibonacci]

Revision as of 15:14, 9 March 2017

FIBONNACI (NumberUpto)


  • is the number to find the Series.

Description

  • This function returns the Values of the Fibonnaci Series.
  • In , is any positive real number.
  • The Fibonacci numbers are the sequence of numbers defined by the linear recurrence equation

,with

  • The Fibonacci numbers for n=1, 2, ... are 1, 1, 2, 3, 5, 8, 13, 21, ...
  • When the parameter 0,then the result as 0.
  • When the parameter is in Decimal,then it is truncated in to integer.
  • When the parameter is the negative number then it will truncated in to integer.

Examples

  1. FIBONACCI(5) = 0 1 1 2 3 5
  2. FIBONACCI(17) = 0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597
  3. FIBONACCI(8.5) = 0 1 1 2 3 5 8 13 21 34

See Also

References