summaryrefslogtreecommitdiff
path: root/620/CH18/EX18.2/example18_2.sce
blob: d3d033d963e305405cbb8f8d7404fd313b13ff20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
v1=120;
v2=12.6;
r=10;
disp("Part a");
n=v1/v2;
disp("the turns ratio is"); disp(n);
disp("Part b");
i2=v2/r;
disp("the secondary current (in A) is"); disp(i2);
disp("Part c");
i1=v1/r;
disp("the primary current (in A) is"); disp(i1);