summaryrefslogtreecommitdiff
path: root/2672/CH5/EX5.16/Ex5_16.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2672/CH5/EX5.16/Ex5_16.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 '2672/CH5/EX5.16/Ex5_16.sce')
-rwxr-xr-x2672/CH5/EX5.16/Ex5_16.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2672/CH5/EX5.16/Ex5_16.sce b/2672/CH5/EX5.16/Ex5_16.sce
new file mode 100755
index 000000000..83636c289
--- /dev/null
+++ b/2672/CH5/EX5.16/Ex5_16.sce
@@ -0,0 +1,25 @@
+//Example 5_16
+clc;
+clear;
+close;
+format('v',7);
+//given data :
+e=1.6*10^-19;//C/electron
+kB=1.38*10^-23;//Boltzman constant
+Is=0.15;//pA
+Is=Is*10^-12;//A
+V=0.55;//V(Forward Biased)
+Eta=1;//Assumed
+//At t=20 degee C
+t=20;//degree C
+T=t+273;//K
+VT=kB*T/e;//V
+I=Is*(exp(V/Eta/VT)-1)*1000;//mA
+//At t=100 degee C
+t=100;//degree C
+T=t+273;//K
+VT=kB*T/e;//V
+//Is increased by factor 2^8
+Is=Is*2^8;//A
+I=Is*(exp(V/Eta/VT)-1);//A
+disp(I,"Current in the diode(A)");