summaryrefslogtreecommitdiff
path: root/1067/CH18/EX18.2/18_2.sce
blob: 4e1118ab240ea6bd944a0faeff3c6d3f8aaa200e (plain)
1
2
3
4
5
6
7
8
clc;
clear;
w=314;
c=.015e-6;
l=1/(3*w^2*c);//the difference in result is due to erroneous calculation in textbook.
l=round(l*10)/10;
mprintf("inductance =%f Henries",l);
disp("the difference in result is due to erroneous calculation in textbook.")