#### stackprogramer

##### Full Member level 3

**why the equation density carrier electron vs temprature don't fit with graph of book?**

hi,in link https://www.iue.tuwien.ac.at/phd/wittmann/node7.html that it is too there is in yang micro device,there is a graph that can see below:

the equation of carrier is below

our default is NA=0 and we have n-type silicon, when i plot this equation in matlab we don't arrive this graph!!11

the output from matlab is here:clc

clear

Nd=10^16;

Eg=1.4;%ev

K=8.6173324*10^(-5);%ev

m0=9.109*10^-31;

me=1.08*m0;

mh=.56*m0;

h=4.135667662*10^(-15);%ev

y=@ (T) 1/2+1/2*(1+16*(6.28*K*T*(me*mh)^.5*(1/h^2))^3*exp(-Eg/K*T)*1/Nd^2)^.5;

fplot(y,[1,2]);

why i do wrong?!!!:sad:

Last edited: