summaryrefslogtreecommitdiff
path: root/2708/CH21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2708/CH21
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 '2708/CH21')
-rwxr-xr-x2708/CH21/EX21.1/ex_21_1.sce13
-rwxr-xr-x2708/CH21/EX21.2/ex_21_2.sce9
2 files changed, 22 insertions, 0 deletions
diff --git a/2708/CH21/EX21.1/ex_21_1.sce b/2708/CH21/EX21.1/ex_21_1.sce
new file mode 100755
index 000000000..9c7650f35
--- /dev/null
+++ b/2708/CH21/EX21.1/ex_21_1.sce
@@ -0,0 +1,13 @@
+//Example 21.1 // electron spin magnetic dipole moment
+clc;
+clear;
+//given data :
+ub=5.6D-5;//electron spin magnetic moment in eV
+kbT=1/40;//approximate value kb(constant) & at room temperature in eV
+u=ub/kbT;//formula
+if(u<1)
+ disp(u,"electron spin magnetic dipole moment & kbT/ub>>1")
+
+ else
+ disp(u,"kbT/ub<<1 so it is wrong")
+ end
diff --git a/2708/CH21/EX21.2/ex_21_2.sce b/2708/CH21/EX21.2/ex_21_2.sce
new file mode 100755
index 000000000..e9c391773
--- /dev/null
+++ b/2708/CH21/EX21.2/ex_21_2.sce
@@ -0,0 +1,9 @@
+//Example 21.2 // diamagnetic susceptibility
+clc;
+clear;
+//given data :
+r=.53D-8;//(mean radius)bohr radius in cm
+N=27D23;//atomic density in per cm2
+k=2.8D-13//k=e2/mc2constants e-electron m-mass c=speed of light in cm
+X=-2*(N*k/6)*r^2;//formula for 2 electrons
+disp(X,"diamagnetic susceptibility of helium atom")