summaryrefslogtreecommitdiff
path: root/3020/CH20/EX20.3/ex20_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3020/CH20/EX20.3/ex20_3.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 '3020/CH20/EX20.3/ex20_3.sce')
-rwxr-xr-x3020/CH20/EX20.3/ex20_3.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3020/CH20/EX20.3/ex20_3.sce b/3020/CH20/EX20.3/ex20_3.sce
new file mode 100755
index 000000000..42a59986f
--- /dev/null
+++ b/3020/CH20/EX20.3/ex20_3.sce
@@ -0,0 +1,9 @@
+clc;
+clear all;
+H=1E6;//magnetic field intensity in A/m
+X=-0.8e-5;//susceptibility
+u0 = 4e-7*%pi;
+M=X*H;//magnetization in A/m
+B=u0*(M+H);//flux density in Wb/m^2;
+disp('A/m',M,'magnetization is:')
+disp('Wb/m^2',B,'flux density is:')