Difference between revisions of "Manuals/calci/FACTORIAL"
Jump to navigation
Jump to search
| Line 17: | Line 17: | ||
#FACTORIAL(54) = 2.308436973392414e+71 | #FACTORIAL(54) = 2.308436973392414e+71 | ||
#FACTORIAL(-3) = NaN | #FACTORIAL(-3) = NaN | ||
| + | |||
| + | ==Related Videos== | ||
| + | |||
| + | {{#ev:youtube|v=pxh__ugRKz8|280|center|Factorials}} | ||
==See Also== | ==See Also== | ||
Revision as of 14:43, 10 January 2019
FACTORIAL (Number)
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Number} is any positive integer.
Description
- This function is showing the result of factorial of a number.
- Factorial means the result of multiplying a sequence of descending natural numbers down to 1.
- In Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle FACTORIAL (Number)} ,Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Number} is any positive integer.
- So the factorial Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n!} is defined for a positive integer n as:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n!=n*(n-1)*...2*1} .
- For example 4!=4*3*2*1 = 24.
- The given number will truncated to integer if the given number is in Decimal.
- This function will returns the result as NaN when the given number is in negative.
Examples
- FACTORIAL(9) = 362880
- FACTORIAL(4.3) = 24
- FACTORIAL(54) = 2.308436973392414e+71
- FACTORIAL(-3) = NaN
Related Videos
See Also
References