diff options
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 |