summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.3/Ex3_3.sce
blob: ec9bc1e3b5538ff2791647329ce2838d00531de7 (plain)
1
2
3
4
5
6
7
8
clc;
//ex3.3
Vsrms=25; //volt
Vspk=Vsrms/0.707; //volt
Vf=0.7; //volt
VLpk=Vspk-Vf; //volt
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('V',VLpk,"VLpk="); //The answers vary due to round off error