summaryrefslogtreecommitdiff
path: root/620/CH19/EX19.8/example19_8.sce
blob: 77a07148ce50869d8c35ad8cf639d67835009910 (plain)
1
2
3
4
5
6
l=1;
r=1000;
v=10;
i=v/r;
w=0.5*l*i^2;
disp("energy stored (in μJ) in the coil is"); disp(w*10^6);