blob: 08088a6838059b187fbba2eecb7798f9cbaa560e (
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
|
//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
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*1000;//current through circuit in milli-amperes
printf("Iz max=%d mA\n Iz=%.2f mA\n",Izmax,Iz);
if Iz<Izmax then
printf("The diode is properly biased.");
else printf("The diode is not properly biased.");
end
|