summaryrefslogtreecommitdiff
path: root/620/CH3/EX3.8/example3_8.sce
blob: 1d81bc4623a1e2df7a8f9576763720515700bdf0 (plain)
1
2
3
4
5
v=120;
i=3;
t=12;
e=v*i*t;
disp("energy supplied by the source (in J) is"); disp(e);