ECE495N-F08-HW_2_solution - HW #2 solution Problem 1....

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

View Full Document Right Arrow Icon
HW #2 solution Problem 1.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Problem 2. clear all %Parameters hbar=1.06e-34;q=1.6e-19;m=0.2*9.1e-31;v=1e5; kT1=0.025;kT2=.025;L=1e-6;W=1e-6;D=0.1;g1=10e-3;g2=g1; kT=(kT1+kT2)/2;Ef=0.1;dE=0.001;E=[0:dE:1]; f0=1./(1+exp((E-Ef)./kT));N0=sum(dE*D*f0); U0=0; %Bias ii=1;dV=0.02; for V=-0.4:dV:0.4 Us=-0; % reference point Ud=-V; % drain % UL=0.5*(Us+Ud); UL=Us; % UL=Ud; % UL=1e-12; change=100;U=UL; while change>1e-6 mu1=Ef-U;mu2=Ef-U-V; f1=1./(1+exp((E-mu1)./kT1)); f2=1./(1+exp((E-mu2)./kT2)); f=(g1*f1+g2*f2)./(g1+g2);
Background image of page 2
N=sum(dE*D*f);Unew=UL+U0*(N-N0);
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

ECE495N-F08-HW_2_solution - HW #2 solution Problem 1....

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

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