diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH18/EX18.13 | |
download | Scilab-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.13')
-rwxr-xr-x | 1271/CH18/EX18.13/13.txt | 5 | ||||
-rwxr-xr-x | 1271/CH18/EX18.13/example18_13.sce | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/1271/CH18/EX18.13/13.txt b/1271/CH18/EX18.13/13.txt new file mode 100755 index 000000000..e4757a78d --- /dev/null +++ b/1271/CH18/EX18.13/13.txt @@ -0,0 +1,5 @@ +# PROBLEM 13 #
+Standard formula used
+ Chi = mu_0*N*M^2 /(3*k*t)
+
+ Susceptibility is 5.642285e-07
diff --git a/1271/CH18/EX18.13/example18_13.sce b/1271/CH18/EX18.13/example18_13.sce new file mode 100755 index 000000000..eb8a2cabf --- /dev/null +++ b/1271/CH18/EX18.13/example18_13.sce @@ -0,0 +1,16 @@ +clc +// Given that +N = 6.5e25 // no. of atom per m^3 +T = 300 // room temperature in K +mu_ = 4 * %pi * 1e-7 // magnetic permittivity of space +k = 1.38e-23 // Boltzmann's constant in J/K +m = 9.1e-31 // mass of electron in kg +e = 1.6e-19 // charge in an electron in C +h = 6.62e-34 // Planck constant in J sec +// Sample Problem 13 on page no. 18.25 +printf("\n # PROBLEM 13 # \n") +printf("Standard formula used \n ") +printf(" Chi = mu_0*N*M^2 /(3*k*t) \n") +M = (e * h) / (4 * %pi * m) +X = (mu_ * N * M^2) / (3 * k * T) +printf("\n Susceptibility is %e",X) |