blob: 15fbae735b395a1f40c8d656347de220c7f2b1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Exa4.13
clc;
clear;
close;
//given data
Vz=8;//in volts
VS=12;//in volts
Vout=8;//in volts
RL=10;//in Kohm
Rs=5;//in Kohm
//part (a)
disp("Output voltage will be equal to Vz i.e "+string(Vz)+" Volts");
//part (b)
Vrs=VS-Vout;//in volts
disp(Vrs,"Voltage across Rs in volts : ");
IL=Vout/RL;//in mAmpere
Is=(VS-Vout)/Rs;//in mAmpere
Iz=Is-IL;//in mAmpere
disp(Iz,"Current through zener diode in mA : ");
|