summaryrefslogtreecommitdiff
path: root/3651/CH5/EX5.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH5/EX5.7/7.sce')
-rw-r--r--3651/CH5/EX5.7/7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3651/CH5/EX5.7/7.sce b/3651/CH5/EX5.7/7.sce
new file mode 100644
index 000000000..9f016dc5e
--- /dev/null
+++ b/3651/CH5/EX5.7/7.sce
@@ -0,0 +1,12 @@
+//Variable declaration
+chi=0.5*10**-5; //magnetic susceptibility
+H=10**6; //field strength(ampere/m)
+mew0=4*%pi*10**-7;
+
+//Calculation
+I=chi*H; //intensity of magnetisation(ampere/m)
+B=mew0*(I+H); //flux density in material(weber/m**2)
+
+//Result
+printf('intensity of magnetisation is %0.3f ampere/m \n',I)
+printf('flux density in material is %0.3f weber/m**2 \n',(B)) \ No newline at end of file