%MOSpara;Matlab;
x=[4,5,6,7,8];RD=1000;I=[0.37518,0.719279,1.174,1.74,2.418]/RD;
y=sqrt(I);
plot(x,y);title('sqrt Drain Current vs VG');xlabel('VG');ylabel('sqrt(ID)');
p=polyfit(x,y,1);m=p(1,1);b=p(1,2);
K=m^2
VT=-b/sqrt(K)
KP=K*2

    
