summaryrefslogtreecommitdiff
path: root/181/CH2/EX2.26
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /181/CH2/EX2.26
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 '181/CH2/EX2.26')
-rwxr-xr-x181/CH2/EX2.26/example2_26.sce26
-rwxr-xr-x181/CH2/EX2.26/example2_26.txt3
2 files changed, 29 insertions, 0 deletions
diff --git a/181/CH2/EX2.26/example2_26.sce b/181/CH2/EX2.26/example2_26.sce
new file mode 100755
index 000000000..e9f451b42
--- /dev/null
+++ b/181/CH2/EX2.26/example2_26.sce
@@ -0,0 +1,26 @@
+// Dynamic resistance in forward,reverse direction
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-26 in page 103
+
+clear; clc; close;
+
+// Given data
+T=398; // Temperature in K
+I_0=80*10^-6; // Current in micro A
+eta=1; // Constant
+V_F=[-0.2 0.2]; // Forward voltages in Volts
+V_T=0.0343; // Thermal voltage in volts
+
+// Calculation
+alp=[1 2];
+for i=1:2
+ R_ac=(V_T/I_0)*exp(V_F(i)/V_T);
+ printf("(%0.0f)Dynamic resistance = %0.3e ohm\n",alp(i),R_ac);
+end
+
+// Result
+// (a) Dynamic resistance in forward direction = 1.258 ohm
+// (b) Dynamic resistance in reverse direction = 0.146 Mohm \ No newline at end of file
diff --git a/181/CH2/EX2.26/example2_26.txt b/181/CH2/EX2.26/example2_26.txt
new file mode 100755
index 000000000..24d9e7543
--- /dev/null
+++ b/181/CH2/EX2.26/example2_26.txt
@@ -0,0 +1,3 @@
+(1)Dynamic resistance = 1.259e+000 ohm
+(2)Dynamic resistance = 1.461e+005 ohm
+ \ No newline at end of file