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 /2780/CH7/EX7.28 | |
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 '2780/CH7/EX7.28')
-rwxr-xr-x | 2780/CH7/EX7.28/Ex7_28.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2780/CH7/EX7.28/Ex7_28.sce b/2780/CH7/EX7.28/Ex7_28.sce new file mode 100755 index 000000000..0eb5dcba4 --- /dev/null +++ b/2780/CH7/EX7.28/Ex7_28.sce @@ -0,0 +1,11 @@ +clc
+//to calculate energy of a neutron
+//consider nucleus as a cubical box of size 10^-14m
+//x=y=z=a=10^-14=l
+//for neutron to be in the lowest energy state nx=ny=nz=1
+//formula is E=(%pi^2*h^2/8*%pi^2*m)*((nx/lx)^2+(ny/ly)^2+(nz/lz)^2)
+h=6.626*10^-34 //planck's constant in Js
+m=1.6*10^-27 //mass in kg
+l=10^-14 //in m
+E=(%pi^2)*(h^2)*3/(4*(%pi^2)*2*m*(1.6*10^-19)*l^2)
+disp("lowest energy of a neutron is E="+string(E)+"eV")
|