Plotting graph

Vinod

Hello,
How to plot graph of y=x! in r along with all the points between x! and (x+1)!? For example If i want to know 5.2!, I should know it by seeing the graph. (5.2!=169.406099462)

Last edited:

Plato

MHF Helper
Hello,
How to plot graph of y=x! in r?
Please clarify the notation. What is $x!~?$ Is that simply a punctuation or what is it a factorial?
What does "in r" mean?

Vinod

Please clarify the notation. What is $x!~?$ Is that simply a punctuation or what is it a factorial?
What does "in r" mean?
Hello, It means x factorial. "r" means r software.

HallsofIvy

MHF Helper
Strictly speaking, x! is only defined for x a non-negative integer. To extend to non-integer values you should use the "gamma function": $$\displaystyle \Gamma(x)= \int_0^\ifty z^{x- 1}e^{-z}dz$$. For n a positive integer, $$\displaystyle \Gamma(n)= (n- 1)!$$. The gamma function is still not defined for x a negative integer but is defined for all other numbers.

1 person