summaryrefslogtreecommitdiff
path: root/2198/CH2/EX2.7.3/Ex2_7_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2198/CH2/EX2.7.3/Ex2_7_3.sce')
-rwxr-xr-x2198/CH2/EX2.7.3/Ex2_7_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2198/CH2/EX2.7.3/Ex2_7_3.sce b/2198/CH2/EX2.7.3/Ex2_7_3.sce
new file mode 100755
index 000000000..724d89b9c
--- /dev/null
+++ b/2198/CH2/EX2.7.3/Ex2_7_3.sce
@@ -0,0 +1,17 @@
+//Ex 2.7.3
+clc;clear;close;
+format('v',8);
+
+//Given :
+Eta=2;//for Si diode
+T=300;//K
+VT=T/11600;//V
+IbyIo=90/100;
+//I=Io*(exp(V/Eta/VT)-1)
+V=log(IbyIo+1)*Eta*VT;//V
+disp(V*1000,"Saturation value of voltage in mV : ");
+VF=0.5;//volts
+VR=-0.5;//volts
+IFbyIR=(exp(VF/Eta/VT)-1)/(exp(VR/Eta/VT)-1);//ratio
+disp(IFbyIR,"Ratio of forward to reverse current : ");
+//Answer in the book is wrong.