summaryrefslogtreecommitdiff
path: root/3710/CH2/EX2.7/Ex2_7.sce
blob: d31d660965d5b180780081a519f1c22267e1752c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example 2.7, Page Number 78
//Junction Capacitance Calculation
clc;

V=-4 //Reverse Bias voltage in volts
nd=4*(10**21) //in per meter cube
Vo=0.8//in volts
A=4*(10**-7) //Junction Area in meter square
er=11.8 //Relative permittivity
e=1.6*(10**-19) //Charge of an Electron in coulombs
eo=8.85*(10**-12) //Absolute permittivity in farads per meter

//By equation 2.63
Cj=(A/2)*sqrt((2*eo*er*e*nd)/(Vo-V))

mprintf("The Junction Capacitance is %.2e pF",Cj)