summaryrefslogtreecommitdiff
path: root/2780/CH7/EX7.2/Ex7_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2780/CH7/EX7.2/Ex7_2.sce
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 '2780/CH7/EX7.2/Ex7_2.sce')
-rwxr-xr-x2780/CH7/EX7.2/Ex7_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2780/CH7/EX7.2/Ex7_2.sce b/2780/CH7/EX7.2/Ex7_2.sce
new file mode 100755
index 000000000..ead1e14d4
--- /dev/null
+++ b/2780/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,9 @@
+clc
+//to calculate de Broglie wavelength
+//mo*c^2=1.507*10^-10/1.6*10^-19=941.87 Mev
+//since 12.8 Mev is very small compared to rest mass energy hence relavistic consideration may be ignored
+m=1.67*10^-27 //mass in kg
+h=6.62*10^-34 //plank's constant
+E=12.8*10^6 //energy in Mev
+lambda=h/sqrt(2*m*E*1.6*10^-19)
+disp("thede Broglie wavelength is lambda="+string(lambda)+"angstrom")