summaryrefslogtreecommitdiff
path: root/506/CH10/EX10.1.b/Example10_1b.sce
blob: 2972ceb14ae2af607d7757da2f58977bd5832bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear;
clc;

//Caption: Pinch off V and channel half width of silicon FET

//Given Values
a=3*(10^-4);//in m
Nd=10^15;//in electrons/m^3
q=1.6*(10^-19)//in C
eo=8.85*(10^-12);//Permittivity of free space
e=12*eo;//Relative Permittivity

Vp=(q*Nd*a*a*10^6*10^-4)/(2*e);//in V
//a is in cm so 10^-4 is multiplied and Nd is in electrons/cm^3 so 10^6 is multiplied
Vgs= Vp/2;

b=a*(1-((Vgs/Vp)^(0.5)));//in cm

disp('cm',b,'Channel Half Width = ');

//end