summaryrefslogtreecommitdiff
path: root/2885/CH3/EX3.12
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.12
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.12')
-rwxr-xr-x2885/CH3/EX3.12/ex3_12.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/2885/CH3/EX3.12/ex3_12.sce b/2885/CH3/EX3.12/ex3_12.sce
new file mode 100755
index 000000000..26a30ac35
--- /dev/null
+++ b/2885/CH3/EX3.12/ex3_12.sce
@@ -0,0 +1,32 @@
+
+//Calculate max and min values of zener diode current
+clear;
+clc;
+//soltion
+//given
+Vimin=80;//V //minimum input voltage
+Vimax=120;//V //maximum input voltage
+Rl=10*10^3;// ohm //load resistance
+Rs=5*10^3;//ohm //series resistance
+Vz=50;//V //Zener voltage
+V=Vimin*Rl/(Rs+Rl);
+
+//This V>Vz therefore Zener diode is ON
+
+//For minimum value of zener diode
+
+Vo=Vz; //output voltage
+Vs=Vimin-Vo; //Voltage drop across the series resistor
+Is=Vs/Rs //current through the series resistor
+Il=Vo/Rl; //Current through load resistance
+Izmin=Is-Il;
+printf("\nMinimum values of zener diode current is %.0f mA\n",Izmin*1000);
+
+//For maximum value of zener diode
+
+Vo=Vz; //output voltage
+Vs=Vimax-Vo; //Voltage drop across the series resistor
+Is=Vs/Rs //current through the series resistor
+Il=Vo/Rl; //Current through load resistance
+Izmax=Is-Il;
+printf("Maximum values of zener diode current is %.0f mA",Izmax*1000);