blob: e5a86f24e2b2829af5c8582d96e6bcde10c7c9cb (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc;
//ex3.8
Vac=48; //volt
Vspk=Vac/0.707; //volt
Vf=0.7; //volt
Vlpk=Vspk-Vf; //volt
Vave=Vlpk/%pi; //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
disp('V',-Vave,"Vave="); //The answers vary due to round off error
|