ECE495N-F08-HW_3_solution - HW_3 Problem 1. % Problem 1...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: HW_3 Problem 1. % Problem 1 clear all hbar=1.063—34;q=1 .6e—19;vf=1e6;hv=hbar*vf/q; %Parameters kT=0.025;Ef=O;dE=0.001;E=[-1:dE:1];D=abs(E)/hv/hv;V=0.001; ii=1;for U=-O.5:.01:+0.5 mu1=Ef-U;mu2=Ef-U-V; f1=1l/(1+exp((E—mu1)./kT)); f2=1./(1+exp((E—mu2)./kT)); f=1./(1+exp((E-Ef)./kT)); N(ii)=sum(dE*D.*(f1+f2—f—f)./2); G(ii)=(q*q/hbar)*sum(dE*hv*D.*(f1~f2)./V); X(ii)=U;ii=ii+1; end ~ NN= -0.5*X.*abs(X)./hv/hv;% analytical GG=(q*q/hbar)*abs(X)./hv;% analytical %% hold on figure(11) h=plot(X,G,‘b'); h=p|ot(X,GG,'bo‘); set(h,‘llnewidth',[3.0]) set(gca, ‘Fontsize‘, [24]) grid on figure(12) h=plot(X,N,'b‘); set(h,'linewidth',[3.0]) h=plot(X,NN,'b0'); set(gca,'Fontsize‘, [24]) grid on >>._>oz-zv >20 ii i v Franm i , ELLE! n ’ ac 45.5? (chm (huff. L— fifii—E‘Fz rt TF2. DIE-— 0° C m Fa. r N -= f ole DOE—Ll) L0H re he) ~00 : f“ 015 (>03) -!:('€fE+U)++:CE-I~LI)) 4,, ( a L 'v 9" _U M‘ II) .. £06 ole NE) flag—m) 2'1:de WE) 00 E ‘ O No — Jim ole. Dm) {3(5) 2 f (E 0(a) ‘M -Q ' O f 015- DCE) —f we DIE) = -oo .09 Q7” 0° = I dE PCB—U) £1 42 [m fir; (1+6. ( -esfl 7% ) I\ 3/4: Problem 2. Textbook Problem3. clear all % Close all %Constants (all MKS, except energy which is in eV) hbar=1.055e—34;q=1.602e—19;l0=q*q/hbar; |O=1; %Parameters UO=O.1;% U0 is 0.25 for part(a), 0.025 for part (b) kT=0.005;mu=O;ep=0.05; g1=0.005;92=0.005;g=g1+92; % g1=1;g2=1:g=g1+g2; alphag=0;alphad=0; %Blas lV=101;VV=linspace(0,0.2,lV); for iV=12|V Vg=O§Vd=~VV(iV); mu1=mu;mu2=mu1-Vd;UL=-(a|phag*Vg)—(alphad*Vd); f1=1 /(1+eXp((ep+UL—O*(UO/2)—mu‘l)/kT));f2=1/(1+exp((ep+UL—O*(UO/2)—mu2)/kT)); f1U=1/(1+eXp((ep+UL+2*(UO/2)~—mu1)/kT));f2U=1/(1+exp((ep+UL+2*(UO/2)—mu2)/kT)); P1=((gl *f1)+(g2*f2))/(Oe—6+(g1 *(1—f1))+(gZ*(1—f2))); P2=P1*((g1 *flU)+(gQ*f2U))/(Oe—6+(g1*(1—f1U))+(g2*(1—f2U))); PO=1/(1+P1+P1+P2);P1=P1*P0;P2=P2*PO; NN(lV)=2*(P1+P2)§ ll (lV)=2*lO*((PO*gl *fl )—(P‘l *g‘l *(1-f1 ))+(P1 *1 *fl U)-(P2*gl *(1-f1 U»); l2(iV)=2*IO*((PO*gZ*f2)—(P1*g2*(1—f2))+(P1*gZ*f2U)-(P2*92*(1—f2U))); end P0 P1 P2 %% hold on h=plot(W,12/max(l2),‘bx'); % plothV,l,‘bx‘); set(h,'linewidth‘,[2.0]) set(gca,‘Fontsize‘,[1 5]) grid on xlabel(' Drain Voltage, —V_D ( volts ) —-->') ylabel(' Current ( Normalized ) --—-> ') 8. fl 4. 2 0 O 0 0 4-; wmfl—mEEZ v Emtso 0.15 0.2 {1.1 Drain Voltage, -VD (volts ) —--> 0.05 00 {(99 :1) F.(£>=o he R0 P°\+P|O+F°o :- \ ) C 9Te0‘d 5 "" Qfafe (x? 1F0|+F0o:l ConaITtTon ) ...
View Full Document

This note was uploaded on 12/30/2010 for the course ECE 495N taught by Professor S.datta during the Spring '08 term at Indiana University-Purdue University Fort Wayne.

Page1 / 7

ECE495N-F08-HW_3_solution - HW_3 Problem 1. % Problem 1...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online