Julien Derr wrote:
> Hi everyone,
> I am trying to plot the gamma function, and have this error message....
>
> gnuplot> plot 0.6*gamma(101)*gamma(100.6-x)/
> (gamma(100+0.6+1)*gamma(100-x+1))
> ^
> all points y value undefined!
>
What was the x range? What version of gnuplot ("show version long"
output would be nice) is this?
> I can't believe this is not defined !
It very well might be. Let me show you why:
gnuplot> print gamma(101)
9.33262154439422e+157
gnuplot> print gamma(101)**2
gnuplot> print gamma(101)**2
^
undefined value
gamma is a *rapidly* growing function, and your computer has a finite
range of values it can represent.
|