summaryrefslogtreecommitdiff
path: root/2198/CH2/EX2.9.5/Ex2_9_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2198/CH2/EX2.9.5/Ex2_9_5.sce')
-rwxr-xr-x2198/CH2/EX2.9.5/Ex2_9_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2198/CH2/EX2.9.5/Ex2_9_5.sce b/2198/CH2/EX2.9.5/Ex2_9_5.sce
new file mode 100755
index 000000000..3284fb172
--- /dev/null
+++ b/2198/CH2/EX2.9.5/Ex2_9_5.sce
@@ -0,0 +1,15 @@
+//Ex 2.9.5
+clc;clear;close;
+format('v',8);
+
+//Given :
+Io1=10^-12;//A
+Io2=10^-10;//A
+I=2;//mA
+Eta=1;//constant
+T=27+273;//K
+VT=26/1000;//V
+//I=I1+I2
+V=(log(I*10^-3/(Io1+Io2))+1)*Eta*VT;//V
+disp(V,"Voltage across the diodes in V : ");
+//Ans in the book is not accurate.