Factorial Function

Faculty of a real number


Description

The Function \(Factorial\) calculates the faculty of a real positive number or a list. If a list is used as argument, \(Factorial \) calculates the faculty for each element of the list.

If \(x\) is a positive integer, the function calculates the product of all numbers (zero) that are less than and equal to \(x\).

If \(x\) is a floating-point number, the function calculates the extended faculty of reeler numbers.


Syntax

Factorial (x)

Factorial (List)

Example

Factorial(3)= 6

Factorial(4)= 24