summaryrefslogtreecommitdiff
path: root/620/CH28/EX28.1/example28_1.sce
blob: 6daaddedbac16b030a49fcebb3390c8b785cd363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
v=6.3;
r=220;
disp("Part a");
vm=v*sqrt(2);
vdc=vm/%pi;
disp("The dc voltage (in V) across the load is"); disp(vdc);
disp("Part b");
im=vm/r;
disp("the peak current (in mA) through the load is"); disp(im*10^3);
disp("Part c");
idc=im/%pi;
disp("the reading of dc ammeter (in mA) is"); disp("idc*10^3");
disp("Part d");
pdc=vdc*idc;
disp("the dc power (in mW) delivered to the load is"); disp(pdc*10^3);