summaryrefslogtreecommitdiff
path: root/3630/CH3/EX3.14/Ex3_14.sce
blob: cc8bef78ede0e9f9b3774741245aef71d39ff156 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc;
//ex3.14
Vppk=170; //volt
Ns=1;
Np=2;
Vspk=(Ns/Np)*Vppk; //Volt//(N1/N2=Vp/Vs)
Rw=0.8; //ohm
Rb=5; //ohm
Isurge=Vspk/(Rw+Rb); //Ampere
disp('V',Vspk,"Vspk="); //The answers vary due to round off error
disp('A',Isurge,"Isurge="); //The answers vary due to round off error