Difference between revisions of "Manuals/calci/FIBONNACI"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
*<math>SomeNumber</math> is any real number.
 
*<math>SomeNumber</math> is any real number.
  
FIBONNACI() displays the Fibonacci series up to the specified number as argument.
+
FIBONNACI() displays the Fibonacci series up to the number specified in argument.
  
 
== Description ==
 
== Description ==
Line 49: Line 49:
 
== See Also ==
 
== See Also ==
  
*[[Manuals/calci/FACTORIAL | FACTORIAL]]
+
*[[Manuals/calci/FACT | FACT]]
  
 
== References ==
 
== References ==
  
 
*[http://en.wikipedia.org/wiki/Fibonacci_number Fibonacci Numbers]
 
*[http://en.wikipedia.org/wiki/Fibonacci_number Fibonacci Numbers]

Revision as of 17:29, 22 February 2014

FIBONNACI(SomeNumber)

where,

  • is any real number.

FIBONNACI() displays the Fibonacci series up to the number specified in argument.

Description

FIBONACCI(SomeNumber)

e.g. FIBONNACI(3) returns 0, 1, 1, 2 as a result.

  • Fibonacci sequence is a series of numbers in which, after first two numbers each subsequent number is the sum of the previous two numbers.
  • Fibonacci sequence is as follows -

0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, .......

  • Argument specifies the count of numbers for which the sequence is to be displayed.

e.g. if is '3', Calci displays Fibonacci series up to 3 numbers excluding '0'.

  • If < zero(0), Calci displays #NULL error message.
  • If is not an integer, Calci rounds it up to display the result.

Examples

Function Output
FIBONNACI(5) 0, 1, 1, 2, 3, 5
FIBONNACI(6) 0, 1, 1, 2, 3, 5, 8
FIBONNACI(5.4) 0, 1, 1, 2, 3, 5, 8

See Also

References