Difference between revisions of "Manuals/calci/FACT"
Jump to navigation
Jump to search
Line 46: | Line 46: | ||
| class="sshl_f" |1 | | class="sshl_f" |1 | ||
|} | |} | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|__P3061XGrk|280|center|FACTORIAL}} | ||
== See Also == | == See Also == |
Revision as of 13:29, 16 April 2015
FACT(N)
- where, is a positive integer whose factorial is to be found.
FACT() calculates the factorial of a number as 1*2*.....*.
Description
FACT(N)
e.g. FACT(3) displays 6 as a result.
- The factorial of a number is the product of all positive integers, less than or equal to . It is calculated as -
- If is negative, Calci displays #N/A error message.
- If is not an integer, it is truncated to calculate the factorial.
- If is invalid, Calci displays #NULL error message.
- The factorial of series of numbers can be calculated as -
e.g. FACT(1..5) calculates factorial of numbers from 1 to 5 and displays result as 1 2 6 24 120.
Examples
Function | Output |
FACT(6) | 720 |
FACT(4.7) | 24 |
FACT(0) | 1 |
FACT(1.1) | 1 |