summaryrefslogtreecommitdiff
path: root/1271/CH15/EX15.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH15/EX15.10
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 '1271/CH15/EX15.10')
-rwxr-xr-x1271/CH15/EX15.10/10.txt6
-rwxr-xr-x1271/CH15/EX15.10/example15_10.sce14
2 files changed, 20 insertions, 0 deletions
diff --git a/1271/CH15/EX15.10/10.txt b/1271/CH15/EX15.10/10.txt
new file mode 100755
index 000000000..7f5b4e146
--- /dev/null
+++ b/1271/CH15/EX15.10/10.txt
@@ -0,0 +1,6 @@
+ # PROBLEM 10 #
+Standard formula used
+ del_x*del_p = h/(4*pi)
+ m = m_0/(1-(v^2/c^2))^1/2
+
+ Uncertainty in determining the position is 1.920008e-12 m.
diff --git a/1271/CH15/EX15.10/example15_10.sce b/1271/CH15/EX15.10/example15_10.sce
new file mode 100755
index 000000000..64240c193
--- /dev/null
+++ b/1271/CH15/EX15.10/example15_10.sce
@@ -0,0 +1,14 @@
+clc
+// Given that
+v = 3e7 // speed of electron in m/sec
+e = 1.6e-19 // charge on an electron in C
+m = 9.1e-31 // mass of electron in kg
+h = 6.62e-34 // Planck constant in J-sec
+c = 3e8 // speed of light in m/sec
+// Sample Problem 10 on page no. 15.28
+printf("\n # PROBLEM 10 # \n")
+printf("Standard formula used \n")
+printf(" del_x*del_p = h/(4*pi) \n m = m_0/(1-(v^2/c^2))^1/2 \n")
+delta_p = m * v / sqrt(1 - (v/c)^2)
+delta_x = h / (4 * %pi * delta_p)
+printf("\n Uncertainty in determining the position is %e m.",delta_x)