summaryrefslogtreecommitdiff
path: root/620/CH3/EX3.2/example3_2.sce
blob: a9e93c08f6f947bbe5f8bb5046a990af944c2aa6 (plain)
1
2
3
4
5
6
7
8
disp("Part a");
v=120;
i=8;
r=v/i;
disp("The resistance of the element (in Ω) is"); disp(r);
v1=240;
r1=v1/i;
disp("The resistance of the element (in Ω) is"); disp(r1);