diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1991/CH8/EX8.4 | |
download | Scilab-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-x | 1991/CH8/EX8.4/8_4.sce | 17 |
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 |