Videos
What is factorial used for?
What is a factorial of 0?
What is a factorial of 10?
$$\sin x=\frac{x^1}{1!}-\frac{x^3}{3!}+\frac{x^5}{5!}-\frac{x^7}{7!}+\frac{x^9}{9!}-\frac{x^{11}}{11!}+\cdots$$ $$\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}+\frac{x^8}{8!}-\frac{x^{10}}{10!}+\cdots$$ $$e^x=1+\frac{x^1}{1!}+\frac{x^2}{2!}+\frac{x^3}{3!}+\frac{x^4}{4!}+\frac{x^5}{5!}+\cdots$$ The sine and cosine functions are important in trigonometry, which has practical applications to surveying and astronomy. The exponential function is used for the calculation of compound interest.
- During a mathematical education program you will usually encounter it in calculus, for example Taylor's theorem $$ f(x) = \sum_{k=0}^\infty \frac{f^{(n)}(x_0)}{k!}(x-x_0)^k. $$ and the binomial theorem $$ (a+b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}, \quad \binom{n}{k} = \frac{n!}{k! (n-k)!} $$ or combinatorics (art of counting). Permutations show up in algebra. On this site my last use of factorials and gamma function was this (at first look rather frightning) equation: \begin{align} \frac{(-n)^{n-1} \Gamma(n+1)}{(1-n)_{n-1}} &=\frac{(-n)^{n-1} n!} {(1-n)(1-n+1)(1-n+2)\cdots -2 \cdot -1} &=\prod_{k=1}^{n-1} \frac{(k+1) n^2}{n^2-kn} \\ &=\frac{2 n^2}{n^2- n}\cdot\frac{3 n^2}{n^2-2 n}\cdot\frac{4 n^2}{n^2-3 n} \cdots \frac{n^3-3n^2}{4n} \cdot \frac{n^3- 2n^2}{3 n}\cdot\frac{n^3- n^2}{2 n}\cdot n^2 \\ &= n^n \end{align} Historically gambling problems were a major reason for the development of combinatorics and probability theory.
- It is a valid question to extend the factorial, a function with natural numbers as argument, to larger domains, like real or complex numbers. The gamma function also showed up several times as certain integrals, so mathematicians gave it a name and of course noted the relationship to factorials. See the graph at the end of this posting. My favourite application of the gamma function is the volume and surface of a ball in $n$ dimensions: $$ V_n(r) = \frac{\pi^{n/2}}{\Gamma\left(\frac{n}{2}+1\right)}r^n \quad\quad S_n(r) = \frac{\pi^{n/2}}{\Gamma\left(\frac{n}{2}\right)} r^{n-1} $$
- You ordered that interpolation via "smooth bezier". A BΓ©zier curve is an interpolation function. Drop that part or try different plotting options, see "help plot" within gnuplot. For example:
plot "factorial" using 1:2 with linespoints
Here is a plot together with the gamma function, or to be more precise, $\Gamma(x+1)$:

Never bothered to understand maths ever, and am now reading cryptography as a hobby in spare time, so help me guys please.
I got that the factorial means just the product of numbers , eg : 4! = 4 Γ 3 Γ 2 Γ 1
Lets say, take a letter for english alphabet and replace it with another random letter for eg :
A = I B = H
,then the books says the decryption keys will be equal to 26 factorial or 26! (since there are 26 letters in english alphabet)
This doesnt' make any sense whatsoever , if the question is too basic please point to another sub if possible. I googled the shit out of it and still don't get it.