summaryrefslogtreecommitdiff
path: root/1991/CH8/EX8.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1991/CH8/EX8.4
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 '1991/CH8/EX8.4')
-rwxr-xr-x1991/CH8/EX8.4/8_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1991/CH8/EX8.4/8_4.sce b/1991/CH8/EX8.4/8_4.sce
new file mode 100755
index 000000000..18733ffc5
--- /dev/null
+++ b/1991/CH8/EX8.4/8_4.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//INPUT DATA
+Ix=1 //current in first wire
+Iy=1 //current in second wire
+FbyL=2*10^-7 //according to the definition of ampere
+a=1 //distance between the wires
+
+
+//calculation
+
+m=(2*%pi*a*FbyL)/(Ix*Iy)
+
+
+
+//output
+printf("the permeability of free space is %3.3e H/m ",m) \ No newline at end of file