summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.57
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /275/CH1/EX1.1.57
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 '275/CH1/EX1.1.57')
-rwxr-xr-x275/CH1/EX1.1.57/Ch1_1_57.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/275/CH1/EX1.1.57/Ch1_1_57.sce b/275/CH1/EX1.1.57/Ch1_1_57.sce
new file mode 100755
index 000000000..4f7e786db
--- /dev/null
+++ b/275/CH1/EX1.1.57/Ch1_1_57.sce
@@ -0,0 +1,23 @@
+clc
+disp("Example 1.57")
+printf("\n")
+disp("To find diode current at 25c and 75c")
+RL=150
+//both diode voltage drop as given in fig 1.47
+Vr1=0.7 //for silicon
+Vr2=0.3 //for Germanium
+Vdc=5
+//apply KVL to given circuit
+IF1=(Vdc-(Vr1+Vr2))/RL
+//for silicon diode
+v=(-1.8*10^-3)
+T1=25
+T2=75
+VFT2=Vr1+((T2-T1)*v)
+//for Germanium Diode
+v=(-2.2*10^-3)
+VFT2!=Vr2+((T2-T1)*v)
+IF2=(Vdc-(VFT2!+VFT2))/RL
+printf("Diode current at 25c and 75c =\n%f ampere\n%f ampere\n",IF1,IF2)
+
+