summaryrefslogtreecommitdiff
path: root/2672/CH2/EX2.19/Ex2_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '2672/CH2/EX2.19/Ex2_19.sce')
-rwxr-xr-x2672/CH2/EX2.19/Ex2_19.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2672/CH2/EX2.19/Ex2_19.sce b/2672/CH2/EX2.19/Ex2_19.sce
new file mode 100755
index 000000000..19b27deaa
--- /dev/null
+++ b/2672/CH2/EX2.19/Ex2_19.sce
@@ -0,0 +1,11 @@
+//Ex_2_19
+clc;
+clear;
+close;
+format('v',7);
+//given data :
+I=100;//A
+r=1;//m
+mu0=4*%pi*10^-7;//permeability of air
+B=mu0*I/2/%pi/r;//Wb/m^2
+disp(B,"Magnetic field produced(Wb/m^2)");