HW4a_Log - l = 1:122; TF = 24+l; meFSi =

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clear all;clc; %Defined Variables and Constants h = 6.626e-34; %Plancks Constant k = 1.381e-23; %Boltzmans Constant m0 = 9.11e-31; %electron rest mass deltaE=7.85e-21; ND=1e23; Eg0Si = 1.875e-19; etaSi = 7.577e-23; thetaDSi = 636; EexSi = 1.186e-21; %Intrinsic Regime i = 1:120; TI(i) = 780+i; meISi = (1.028+(6.11e-4)*TI-(3.09e-7)*TI.^2)*m0; %Me* mhISi = (0.61+(7.83e-4)*TI-(4.46e-7)*TI.^2)*m0; %Mh* NcISi = 2*((2*pi*meISi*k.*TI)/h^2).^1.5; NvISi = 2*((2*pi*mhISi*k.*TI)/h^2).^1.5; EgtISi(i) = Eg0Si-((etaSi*TI.^2)./(TI+thetaDSi))-EexSi; NeISi(i) = ((NcISi.*NvISi).^0.5).*exp(-EgtISi./(2*k.*TI)); %Extrinsic Regime j=1:636; TE = 145+j; NeE = ND*ones(1,636); %Freeze Out Regime
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: l = 1:122; TF = 24+l; meFSi = (1.028+(6.11e-4)*TF-(3.09e-7)*TF.^2)*m0; NcFSi = 2*((2*pi*meFSi*k.*TF)/h^2).^1.5; NeF = ((0.5*ND*NcFSi).^0.5).*exp(-deltaE./(2*k*TF)); %Plotting semilogy(TI,NeISi/100^3,'LineWidth',2,'Color',[1 0 0],. .. 'DisplayName','Intrinsic Regime') hold semilogy(TE,NeE/100^3,'LineWidth',2,'Color',[0 0.498039215803146 0],. .. 'DisplayName','Extrinsic Regime') semilogy(TF,NeF/100^3,'LineWidth',2,'Color',[0 0 1],. .. 'DisplayName','Freeze Out Regime') xlabel('T (K)');ylabel('N_e (cm^-^3)'); title('n-type Si Doped with Arsenic, log(N_e) vs. T'); legend('Location','SouthEast')...
View Full Document

Ask a homework question - tutors are online