summaryrefslogtreecommitdiff
path: root/3755/CH6/EX6.15/Ex6_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH6/EX6.15/Ex6_15.sce')
-rw-r--r--3755/CH6/EX6.15/Ex6_15.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3755/CH6/EX6.15/Ex6_15.sce b/3755/CH6/EX6.15/Ex6_15.sce
new file mode 100644
index 000000000..f90bd9db1
--- /dev/null
+++ b/3755/CH6/EX6.15/Ex6_15.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+h=6.60*10^-34; //planck's constant(J-sec)
+m=1.67*10^-27; //mass of neutron(kg)
+k=8.6*10^-5; //boltzmann constant(eV/deg)
+e=1.6*10^-19; //charge of electron(c)
+T=300; //temperature(K)
+
+//Calculations
+lamda=h*10^10/sqrt(2*m*k*e*T); //wavelength of thermal neutron(angstrom)
+
+//Result
+printf("\n wavelength of thermal neutron is %0.3f angstrom",lamda)