digxx Mon, 16 May 2016 03:24:08 -0700
Sorry I forgot: x_a=0 x_b=5 N=50 X=linspace(x_a,x_b,N)
before the function.