summaryrefslogtreecommitdiff
path: root/2882/CH3/EX3.13/Ex3_13.sce
blob: 3fa7b87b0cb0600c3be26727754ad8064add2b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//Tested on Windows 7 Ultimate 32-bit
//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 97
clear;
clc;

//Given Data
//From Figure 3.28

V=15;//value of voltage source in volts
Vz=10;//zener breakdown voltage in volts
Rs=300;//series resistance R in ohms
Rp=900;//shunt resistance R' in ohms
Izmax=10;//maximum zener current in milli-amperes

//Solution

//Assuming ideal diode Vz=12V and Rz=0 ohms
Vrs=V-Vz;//voltage across resistor in volts
Irs=Vrs/Rs*1000;//current through resistor R in milli-amperes
Irp=Vz/Rp*1000;//current through resistor R' in milli-amperes

Iz=Irs-Irp;//current through diode in milli-amperes

if Iz<Izmax then
    printf("The diode is properly biased.\n");
else printf("The diode is not biased properly.\n");
end

Pd=Vz*Iz;//power dissipation in milli-watts

printf("The dissipated power = Pd = %.1f mW",Pd);