summaryrefslogtreecommitdiff
path: root/3669/CH7/EX7.2/2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH7/EX7.2/2.sce')
-rw-r--r--3669/CH7/EX7.2/2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3669/CH7/EX7.2/2.sce b/3669/CH7/EX7.2/2.sce
new file mode 100644
index 000000000..e2edb08f5
--- /dev/null
+++ b/3669/CH7/EX7.2/2.sce
@@ -0,0 +1,13 @@
+
+//Variable declaration
+chi=-0.25*10**-5; //magnetic susceptibility
+H=1000; //magnetic field(A/m)
+mew0=4*%pi*10**-7;
+
+//Calculation
+M=chi*H; //magnetisation(A/m)
+B=mew0*(H+M); //flux density(Wb/m**2)
+
+//Result
+printf('magnetisation is %0.3f *10**-2 A/m \n',M*10**2)
+printf('flux density is %0.3f *10**-3 Wb/m**2 \n',(B*10**3)) \ No newline at end of file