summaryrefslogtreecommitdiff
path: root/1535/CH14/EX14.4/Ch14Ex4.sci
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1535/CH14/EX14.4/Ch14Ex4.sci
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 '1535/CH14/EX14.4/Ch14Ex4.sci')
-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