summaryrefslogtreecommitdiff
path: root/1535/CH14/EX14.5
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.5
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.5')
-rwxr-xr-x1535/CH14/EX14.5/Ch14Ex5.sci14
1 files changed, 14 insertions, 0 deletions
diff --git a/1535/CH14/EX14.5/Ch14Ex5.sci b/1535/CH14/EX14.5/Ch14Ex5.sci
new file mode 100755
index 000000000..2e5356536
--- /dev/null
+++ b/1535/CH14/EX14.5/Ch14Ex5.sci
@@ -0,0 +1,14 @@
+// Scilab Code Ex14.5: Magnetisation-Magnetic flux density-relative permeability of diamagnetic material : Page-307 (2010)
+mu_0 = 4*%pi*1e-07; // Magnetic permeability of free space, tesla metre per ampere
+H = 1.2e+005; // Field strength to which the diamagnetic material is subjected, ampere per metre
+chi = -4.2e-006; // 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
+mu_r = M/H + 1; // The relative permeability of diamagnetic material
+printf("\nThe magnetisation of diamagnetic material = %5.3f ampere per metre", M);
+printf("\nThe magnetic flux density of diamagnetic material = %5.3f T", B);
+printf("\nThe relative permeability of diamagnetic material = %f T", mu_r);
+// Result
+// The magnetisation of diamagnetic material = -0.504 ampere per metre
+// The magnetic flux density of diamagnetic material = 0.151 T
+// The relative permeability of diamagnetic material = 0.999996 T \ No newline at end of file