blob: 26aa1ea1ffb8fa5a7afad0cd04d17f758667872d (
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
|
//Example 5_32
clc;
clear;
close;
format('v',6);
//given data :
Vz=5;//V
Pmax=250;//mW
Vs=15;//V(Supply voltage)
PL=50;//W(Load)
Imax=Pmax/Vz;//mA(Maximum permissible current)
//Minimum current to maintain constant voltage
Imin=Imax-Imax*10/100;//mA
Rmin=Vs/Imax;//kohm
Rmax=Vs/Imin;//kohm
disp("For maintainng constant voltage, Range of R is "+string(Rmin)+" kohm to "+string(Rmax)+" kohm.");
//Diode loaded with 50W load
Imax=PL/Vz;//mA(Maximum permissible current)
//Minimum current to maintain constant voltage
Imin=Imax-Imax*10/100;//mA
Rmin=Vs/Imax;//kohm
Rmax=Vs/Imin;//kohm
disp("New range of R is "+string(Rmin)+" kohm to "+string(Rmax)+" kohm.");
//Solution is not complete in the textbook.
|