Plotting graph

Sep 2011
393
8
Mumbai (Bombay),Maharashtra,India
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
Aug 2006
22,467
8,639
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?
 
Sep 2011
393
8
Mumbai (Bombay),Maharashtra,India
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
Apr 2005
20,249
7,909
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.
 
  • Like
Reactions: 1 person