Write a Matlab program to confirm that the ni versus T curve
Write a Matlab program to confirm that the ni versus T curve for greaterthanorequalto and Si can be generated by employing the empirical fit relationships below. Check over the temperature range of 275K lessthanorequalto T lessthanorequalto 375K. n_i(Si) = (9.15 times 10^19)(T/300)^2 e^-0.5928/kT Eqn. 1 n_i(Ge) = (1.76 times 10^16)(T)^3/2 e^-0.392/kT Eqn. 2
Solution
We have Boltzmann constant, k=1.38064852x1023 JK-1
Matlab program is,
k=1.38064852×1023
T:=275
for T from 275 to 375 do
ni(Si)=(9.15x10^19)x(T/300)^(2)xe^(-0.5928/(kxT));
plot(T, ni(Si))
end
T:=275
for T from 275 to 375 do
ni(Ge)=(1.76x10^16)x(T)^(3/2)xe^(-0.392/(k xT));
plot(T, ni(Ge))
end
Program embeds m ends
First plot will be for Si and second will be for Ge.
And also you can separately plot for individuals just by removing any for Loop at a time.
