summaryrefslogtreecommitdiff
path: root/620/CH20/EX20.5/example20_5.sce
blob: 7002a0ad7ce8a8be8381f20a59cee65edf255554 (plain)
1
2
3
4
5
6
f=10^3;
v=10;
i=50*10^(-3);
x_l=v/i;
l=x_l/(2*%pi*f);
disp("the inductance of the coil (in mH) is"); disp(l*10^3);