a=1.2;
b=3.7;
n=6;
X=linspace(a,b,n);