summaryrefslogtreecommitdiff
path: root/620/CH6/EX6.7/example6_7.sce
blob: 63add779364f55367894bb75625c100ff7192603 (plain)
1
2
3
4
5
6
7
8
9
10
11
r1=600;
v=60;
disp("Part a");
r=r1/3;
disp("the total circuit resistance is"); disp(r);
disp("Part b");
i=v/r;
disp("the total current drawn (in A) from the source is"); disp(i);
disp("Part c");
i1=i/3;
disp("the current drawn (in A) by each resistor is"); disp(i1);