summaryrefslogtreecommitdiff
path: root/1076/CH2/EX2.1/2_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH2/EX2.1/2_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1076/CH2/EX2.1/2_1.sce')
-rwxr-xr-x1076/CH2/EX2.1/2_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1076/CH2/EX2.1/2_1.sce b/1076/CH2/EX2.1/2_1.sce
new file mode 100755
index 000000000..ec4a758c8
--- /dev/null
+++ b/1076/CH2/EX2.1/2_1.sce
@@ -0,0 +1,10 @@
+clear
+clc;
+dia=1.213;
+dist=1.25*100;
+f=50;
+rad=dia/2;
+effrad=.7788*rad;
+L=4d-7 * log (dist/effrad)*1d3;
+X=2*%pi*f*L;
+mprintf("L=%.2f *1e-4 H/km, X=%.1f ohm/km",L*1e4, X);