From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2885/CH3/EX3.2/ex3_2.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 2885/CH3/EX3.2/ex3_2.sce (limited to '2885/CH3/EX3.2') 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); -- cgit