summaryrefslogtreecommitdiff
path: root/2885/CH3/EX3.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2885/CH3/EX3.2
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 '2885/CH3/EX3.2')
-rwxr-xr-x2885/CH3/EX3.2/ex3_2.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2885/CH3/EX3.2/ex3_2.sce b/2885/CH3/EX3.2/ex3_2.sce
new file mode 100755
index 000000000..6de95ef89
--- /dev/null
+++ b/2885/CH3/EX3.2/ex3_2.sce
@@ -0,0 +1,23 @@
+//detrenmine dc resistance of silicon diode
+clear;
+clc;
+//soltion
+//given
+
+//At Id = 2 mA
+Id=2*10^-3;//Ampere//diode current
+Vd=0.5;//V//voltage(from given curve)
+Rf=(Vd/Id);
+printf("The dc resistance is %d Ω\n",Rf);
+
+//At Id = 20 mA
+Id=20*10^-3;//Ampere//diode current
+Vd=0.75;//V//voltage(from given curve)
+Rf=(Vd/Id);
+printf("The dc resistance is %.1f Ω\n",Rf);
+
+//At Vd = - 10 V
+Id=-2*10^-6;//Ampere//diode current(from given curve)
+Vd=-10;//V//voltage
+Rf=(Vd/Id);
+printf("The dc resistance is %d MΩ\n",Rf/10^6);