diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2300/CH5/EX5.7.5 | |
download | Scilab-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.5')
-rwxr-xr-x | 2300/CH5/EX5.7.5/Ex5_5.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2300/CH5/EX5.7.5/Ex5_5.sce b/2300/CH5/EX5.7.5/Ex5_5.sce new file mode 100755 index 000000000..d4677e9db --- /dev/null +++ b/2300/CH5/EX5.7.5/Ex5_5.sce @@ -0,0 +1,17 @@ + +//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
+n=2//n=emission coefficient for silicon pn junction diode
+T=300//T=Temperature in kelvin
+//Is=Reverse saturation current in A
+//V=bias voltage in V
+//I=Is*(exp((e*V)/(n*kB*T))-1)//I=reverse current in A
+//I=(-(Is/2))
+a=(((n*kB*T)/e)*log(1/2))*10^3//a=bias for reverse current in silicon pn junction diode
+disp("mV",a,"V")
+disp("The negative sign suggests diode in reverse bias")
|