summaryrefslogtreecommitdiff
path: root/1271/CH18/EX18.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH18/EX18.14
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 '1271/CH18/EX18.14')
-rwxr-xr-x1271/CH18/EX18.14/14.txt5
-rwxr-xr-x1271/CH18/EX18.14/example18_14.sce18
2 files changed, 23 insertions, 0 deletions
diff --git a/1271/CH18/EX18.14/14.txt b/1271/CH18/EX18.14/14.txt
new file mode 100755
index 000000000..c5c870453
--- /dev/null
+++ b/1271/CH18/EX18.14/14.txt
@@ -0,0 +1,5 @@
+ # PROBLEM 14 #
+Standard formula used
+ Chi = mu_0*N*M^2 /(3*k*t)
+
+ Magnetisation is 107.894727 A/m
diff --git a/1271/CH18/EX18.14/example18_14.sce b/1271/CH18/EX18.14/example18_14.sce
new file mode 100755
index 000000000..069460d0b
--- /dev/null
+++ b/1271/CH18/EX18.14/example18_14.sce
@@ -0,0 +1,18 @@
+clc
+// Given that
+w = 168.5 // molecular weight
+d = 4370 // density of material in kg/m^3
+H = 2e5 // magnetic field in A/m
+T = 300 // room temperature in K
+mu_ = 4 * %pi * 1e-7 // magnetic permittivity of space]
+NA = 6.02e26 // Avogadro no. in per kg
+mu_b = 9.24e-24 // Bohr magnetons in Am^2
+k = 1.38e-23 // Boltzmann's constant in J/K
+// Sample Problem 14 on page no. 18.26
+printf("\n # PROBLEM 14 # \n")
+printf("Standard formula used \n ")
+printf(" Chi = mu_0*N*M^2 /(3*k*t) \n")
+N = d * NA / w
+X = (mu_ * N * (2 * mu_b)^2) / (3 * k * T)
+I = X * H
+printf("\n Magnetisation is %f A/m",I)