summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.16/Ex3_16.sce
blob: c9ae3837db6feea85daeda68c4d5c3c85fdcb3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
//ex3.16
Vac=24; //volt
Vspk=Vac/0.707; //volt
Vf=0.7; //volt
Vlpk=(Vspk/2)-Vf; //volt
Vdc=Vlpk; //volt
RL=1200; //ohm
IL=Vdc/RL; //Amperes //v=r*i
t=0.00833 //second
C=0.00047 //farad
Vr=(IL*t)/C; //volt
Vdc=Vlpk-(Vr/2); //volt
disp('V',Vdc,"Vdc="); //The answers vary due to round off error