summaryrefslogtreecommitdiff
path: root/620/CH4/EX4.7/example4_7.sce
blob: 9bb6529757b43efb2ac8fbb2171fd5a8a9f8c66c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
disp("Part a");
v=120;
p=60;
r=18;
i=v/r;
disp("the initial inrush of current (in A) is"); disp(i);
disp("Part b");
i1=p/v;
disp("the steady operating current (in A) is"); disp(i1);
disp("Part c");
r1=v/i1;
disp("the hot resistance (in Ω) of the lamp is"); disp(r1);