summaryrefslogtreecommitdiff
path: root/74/CH10/EX10.2/example2_sce.sce
blob: 76e3cb62ce5541694bd8f8f9202dc5700daee84f (plain)
1
2
3
4
5
6
7
8
9
10
//chapter10
//example 10.2
//page347
RF=.1;//ripple factor
Vldc=10;
//ripple factor=Vrms/Vldc
Vrms=Vldc*RF;
disp(Vrms)
Vp_p=2*sqrt(2)*Vrms;//peak to peak ripple
disp(Vp_p)//volts