summaryrefslogtreecommitdiff
path: root/2300/CH5/EX5.7.4/Ex5_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH5/EX5.7.4/Ex5_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2300/CH5/EX5.7.4/Ex5_4.sce')
-rwxr-xr-x2300/CH5/EX5.7.4/Ex5_4.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2300/CH5/EX5.7.4/Ex5_4.sce b/2300/CH5/EX5.7.4/Ex5_4.sce
new file mode 100755
index 000000000..3c94b6b63
--- /dev/null
+++ b/2300/CH5/EX5.7.4/Ex5_4.sce
@@ -0,0 +1,20 @@
+
+//scilab 5.4.1
+//windows 7 operating system
+//chapter 5:Semiconductor Junction Diodes
+clc
+clear
+e=1.6*10^(-19)//e=charge of an electron in C
+kB=1.38*10^(-23)//kB=Boltzmann's constant in J/K
+//V,V1=forward bias voltagesin V
+n=2//n=emission coefficient for silicon pn junction diode
+T=300//T=Temperature in kelvin
+//Is=Reverse saturation current in A
+//I=Is*(exp((e*V)/(n*kB*T)))//I=current for forward bias voltage V
+//2I=Is*(exp((e*V1)/(n*kB*T)))//2I=current for forward bias voltage V1
+//exp((e*(V1-V)/(n*kB*T)))=2
+a=(((n*kB*T)/e)*log(2))*10^3//a=(V1-V)=increase in the bias voltage in V
+disp("mV",a,"V1-V")
+
+
+