summaryrefslogtreecommitdiff
path: root/2882/CH3/EX3.12/Ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2882/CH3/EX3.12/Ex3_12.sce')
-rwxr-xr-x2882/CH3/EX3.12/Ex3_12.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/2882/CH3/EX3.12/Ex3_12.sce b/2882/CH3/EX3.12/Ex3_12.sce
new file mode 100755
index 000000000..6266f96a3
--- /dev/null
+++ b/2882/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,28 @@
+//Tested on Windows 7 Ultimate 32-bit
+//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 96
+clear;
+clc;
+
+//Given Data
+//From Figure 3.27
+
+V=15;//value of voltage source in volts
+Vz=12;//zener breakdown voltage in volts
+R=390;//series resistance in ohms
+rz=10;//diode resistance in ohms
+Izmax=10;//maximum zener current in milli-amperes
+
+//Solution
+
+//Assuming ideal diode Vz=12V and Rz=0 ohms
+Vr=V-Vz;//voltage across resistor in volts
+Iz=Vr/(R+rz)*1000;//current through circuit in milli-amperes
+
+if Iz<Izmax then
+ printf("The diode is properly biased.\n");
+else printf("The diode is not biased properly.\n");
+end
+
+Pz=Vz*Iz;//power dissipation in milli-watts
+
+printf("The dissipated power = Pz = %d mW",Pz);