summaryrefslogtreecommitdiff
path: root/3828/CH16/EX16.1/Ex16_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH16/EX16.1/Ex16_1.sce')
-rw-r--r--3828/CH16/EX16.1/Ex16_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH16/EX16.1/Ex16_1.sce b/3828/CH16/EX16.1/Ex16_1.sce
new file mode 100644
index 000000000..da6229b39
--- /dev/null
+++ b/3828/CH16/EX16.1/Ex16_1.sce
@@ -0,0 +1,16 @@
+//Chapter 16 : MAGNETIC MATERIALS
+
+clear;
+
+//Variable declaration
+H=10**6 //Magnetic Field Strength in ampere/m
+x=0.5*10**-5 //Magnetic susceptibility
+mu_0=4*%pi*10**-7
+
+//Calculatiions
+M=x*H
+B=mu_0*(M+H)
+
+//Result
+mprintf("Intensity of Magnetization=%d ampere/m",M)
+mprintf("\nFlux density in the material=%f weber/m^2",B)