summaryrefslogtreecommitdiff
path: root/3411/CH5/EX5.10
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH5/EX5.10')
-rw-r--r--3411/CH5/EX5.10/Ex5_10.sce14
-rw-r--r--3411/CH5/EX5.10/Ex5_10.txt3
2 files changed, 17 insertions, 0 deletions
diff --git a/3411/CH5/EX5.10/Ex5_10.sce b/3411/CH5/EX5.10/Ex5_10.sce
new file mode 100644
index 000000000..870847749
--- /dev/null
+++ b/3411/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,14 @@
+//Example 5_10
+clc();
+clear;
+//To calculate the lattice constant
+h=6.63*10^-34 //Plancks Constant
+m=1.804*10^-27
+KB=1.38*10^-23
+T=300
+lamda=h/sqrt(3*m*KB*T) //units in mts
+n=2
+a=(sqrt(3)*lamda)/2 //units in mts
+printf("Lattice constant a=");
+disp(a);
+printf("mts")
diff --git a/3411/CH5/EX5.10/Ex5_10.txt b/3411/CH5/EX5.10/Ex5_10.txt
new file mode 100644
index 000000000..dc254f563
--- /dev/null
+++ b/3411/CH5/EX5.10/Ex5_10.txt
@@ -0,0 +1,3 @@
+Lattice constant a=
+ 1.213D-10
+mts \ No newline at end of file