summaryrefslogtreecommitdiff
path: root/3630/CH20/EX20.1/Ex20_1.sce
blob: 762d75d37aa533dabe39d5ffe24c44c7d09a6fb0 (plain)
1
2
3
4
5
6
7
clc;
t=0.018;
I=50;
D=(I^2)*t;
if (D <= 145) then
    disp('device can handle this surge');
end