summaryrefslogtreecommitdiff
path: root/1535/CH14/EX14.4
diff options
context:
space:
mode:
Diffstat (limited to '1535/CH14/EX14.4')
-rwxr-xr-x1535/CH14/EX14.4/Ch14Ex4.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/1535/CH14/EX14.4/Ch14Ex4.sci b/1535/CH14/EX14.4/Ch14Ex4.sci
new file mode 100755
index 000000000..a64eae75d
--- /dev/null
+++ b/1535/CH14/EX14.4/Ch14Ex4.sci
@@ -0,0 +1,12 @@
+// Scilab Code Ex14.4: Magnetic flux density and magnetisation of diamagnetic material : Page-307 (2010)
+mu_0 = 4*%pi*1e-07; // Magnetic permeability of free space, tesla metre per ampere
+H = 10000; // Field strength to which the diamagnetic material is subjected, ampere per metre
+chi = -0.4e-005; // Magnetic susceptibility
+M = chi*H; // Magnetisation of the diamagnetic material, ampere per metre
+B = mu_0*(H + M); // Magnetic flux density of diamagnetic material, T
+printf("\nThe magnetisation of diamagnetic material = %4.2f ampere per metre", M);
+printf("\nThe magnetic flux density of diamagnetic material = %6.4f T", B);
+
+// Result
+// The magnetisation of diamagnetic material = -0.04 ampere per metre
+// The Magnetic flux density of diamagnetic material = 0.0126 T \ No newline at end of file