blob: ccb96727633015d97fd2da7f089c5b3c3764b886 (
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
|
clc;
//ex3.22
Vac=36; //Volt
Vspk=Vac/0.707; //Volt
Vf=0.7; //Volt
Vpk=Vspk-2*Vf; //Volt
Vin=Vpk; //Volt
Rs=75; //Ohm
Vz=30; //Volt
Ir=(Vin-Vz)/Rs; //Amperes
t=0.00833 //second
C=0.0022 //Farad
Vr=(Ir*t)/C; //Volt
Vdc=30; //Volt
RL=300; //Ohm
ZZ=60 //Ohm
RL=300 //Ohm
Rs=75 //Ohm
Znet=(ZZ*RL)/(ZZ+RL); //Ohm
Il=Vz/RL; //Ampere
Vrout=(Znet/((Znet)+Rs))*Vr; //Volt
disp('V',Vdc,"Vdc="); //The answers vary due to round off error
disp('mVpp',Vrout*1000,"Vrout="); //The answers vary due to round off error
disp('mA',Il*1000,"Il="); //The answers vary due to round off error
|