Question: about factorial and plot

Hey, I want to look into something about n! I wrote a procedure like: > myfactorial:=proc(N) > local ptlist,k: > uses plots: > ptlist:=NULL: > for k to N do > ptlist:=ptlist,(k,k!): > od: > pointplot([ptlist],color=red); > end: myfactorial(20); works fine myfactorial(50); and more than 50 it says floating point overflow.please shorten axes.. is there a way to make it work? and n! is defined as int(x^n*exp(1)^(-x),x=0..infinity); why the output is Gamma (n+1) insteas of 1? simplify(%/n!); # can give me "1" and how do i get maple to plot assume(n::posint); f:=(x,n)->x^n*exp(1)^(-x); plot3d(f,x=0..10,n=1..10,color=blue); this function? =============================== i dont know what I have done is correct or wrong to investigate n!=int(x^n*exp(1)^(-x),x=0..infinity). I am just trying to visualise it and see what's going on there. Thank you all very much. BTW: Did they clean up the post? Lots of the old posts are gone...
Please Wait...