summaryrefslogtreecommitdiff
path: root/2534/CH5/EX5.15/Ex5_15.sce
blob: a7a81b9050a520934ca346db16f43ef2068911ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Ex5_15
clc
C = 600*10^-6
T = 20*10^-3
Vr = 1.2
Vdc = 9
Vac =Vr/(2*(3^.5))
r = Vac/Vdc
Idc = (Vr*C)/(T/2)
RL = Vdc/Idc
disp("C = "+string(C)+"F")//rectifier capacitance
disp("T = "+string(T)+"s")//time
disp("Vr = "+string(Vr)+"V")//ripple voltage
disp("Vdc = "+string(Vdc)+"V")//D.C. voltage
disp("Vac = "+string(Vac)+"V")//A.C. voltage
disp("r = "+string(r))//ripple factor
disp("Idc = "+string(Idc)+"A")//D.C. current
disp("RL = "+string(RL)+"ohm")//load resistance