summaryrefslogtreecommitdiff
path: root/3014/CH1/EX1.21
diff options
context:
space:
mode:
Diffstat (limited to '3014/CH1/EX1.21')
-rwxr-xr-x3014/CH1/EX1.21/Ex1_21.sce10
-rwxr-xr-x3014/CH1/EX1.21/Ex1_21.txt3
2 files changed, 13 insertions, 0 deletions
diff --git a/3014/CH1/EX1.21/Ex1_21.sce b/3014/CH1/EX1.21/Ex1_21.sce
new file mode 100755
index 000000000..cc1e81b08
--- /dev/null
+++ b/3014/CH1/EX1.21/Ex1_21.sce
@@ -0,0 +1,10 @@
+clc
+//Given that
+k = 8.6e-5 // Boltzmann constant
+t = 37 // Temperature in degree Celsius
+h = 6.62e-34 // Plank constant
+m = 1.67e-27 // Mass of neutron
+printf("Example 1.21")
+lambda = h/sqrt(3*m*(k*1.6e-19)*(t+273))// Calculation of wavelength
+printf("\n Wavelength of neutron at %d degree Celsius is %f angstrom.\n\n\n",t,lambda*1e10)
+
diff --git a/3014/CH1/EX1.21/Ex1_21.txt b/3014/CH1/EX1.21/Ex1_21.txt
new file mode 100755
index 000000000..3c63dd681
--- /dev/null
+++ b/3014/CH1/EX1.21/Ex1_21.txt
@@ -0,0 +1,3 @@
+
+Example 1.21
+ Wavelength of neutron at 37 degree Celsius is 1.432020 angstrom.