summaryrefslogtreecommitdiff
path: root/2780/CH7/EX7.20/Ex7_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH7/EX7.20/Ex7_20.sce')
-rwxr-xr-x2780/CH7/EX7.20/Ex7_20.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2780/CH7/EX7.20/Ex7_20.sce b/2780/CH7/EX7.20/Ex7_20.sce
new file mode 100755
index 000000000..e427ce4c2
--- /dev/null
+++ b/2780/CH7/EX7.20/Ex7_20.sce
@@ -0,0 +1,11 @@
+clc
+//to calculate uncertainity in frequency
+delt=10^-8 //uncertainity in time
+delnu=1/(2*%pi*delt)
+disp("minimum uncertainity in the frequency of a photon is delnu="+string(delnu)+"sec^-1")
+//to use the uncertainity principle to place a lower limit on the energy an electron must have if it is to be part of a nucleus
+delx=5*10^-15 //uncertainity in position
+delp=h/(2*2*%pi*delx) //uncertainbity in momentum
+c=3*10^8 ///speed of light in m/s
+E=delp*c
+disp("energy of an electron is E="+string(E)+"J")