function mysequence(n) x=linspace(0,1,100); y=n^2*x.*(1-x.^2).^n; plot(x,y)