summaryrefslogtreecommitdiff
path: root/3710/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3710/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3710/CH2/EX2.7/Ex2_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3710/CH2/EX2.7/Ex2_7.sce b/3710/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..d31d66096
--- /dev/null
+++ b/3710/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,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)