summaryrefslogtreecommitdiff
path: root/620/CH15/EX15.6/example15_6.sce
blob: e1542ad4b68036a182701d4f8f8a154a03261cab (plain)
1
2
3
4
5
6
7
8
9
10
vm=170;
w=377;
r=33;
disp("Part a");
v=vm/sqrt(2);
disp("the reading (in V) of an AC voltmeter is"); disp(v);
disp("Part b");
im=vm/r;
i=im/sqrt(2);
disp("the reading (in A) of the AC ammeter is"); disp(i);