summaryrefslogtreecommitdiff
path: root/1271/CH14/EX14.45
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH14/EX14.45
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/CH14/EX14.45')
-rwxr-xr-x1271/CH14/EX14.45/45.txt5
-rwxr-xr-x1271/CH14/EX14.45/example14_45.sce18
2 files changed, 23 insertions, 0 deletions
diff --git a/1271/CH14/EX14.45/45.txt b/1271/CH14/EX14.45/45.txt
new file mode 100755
index 000000000..bc26b7b90
--- /dev/null
+++ b/1271/CH14/EX14.45/45.txt
@@ -0,0 +1,5 @@
+ # # PROBLEM 45 #
+Standard formula used
+ lambda = h/(3*m*k*T)^1/2
+
+ Ratio of de-Broglie wavelengths is 2 .
diff --git a/1271/CH14/EX14.45/example14_45.sce b/1271/CH14/EX14.45/example14_45.sce
new file mode 100755
index 000000000..1bfa67fed
--- /dev/null
+++ b/1271/CH14/EX14.45/example14_45.sce
@@ -0,0 +1,18 @@
+clc
+// Given that
+t = 300 // temperature in K
+k = 1.376e-23 // Boltzmann's constant in J/K
+c = 3e8 // velocity of light in m/sec
+h = 6.62e-34 // Planck constant in J-sec
+e = 1.6e-19 // charge on an electron in C
+m_ = 4 * 1.67e-27 // mass of helium atom in kg
+m = 1.67e-27 // mass of hydrogen atom in kg
+// Sample Problem 45 on page no. 14.39
+printf("\n # PROBLEM 45 # \n")
+printf("Standard formula used \n ")
+printf(" lambda = h/(3*m*k*T)^1/2\n")
+lambda1 = h / sqrt(3 * m * k * t)
+lambda2 = h / sqrt(3 * m_ * k * t)
+r = lambda1 / lambda2
+printf("\n Ratio of de-Broglie wavelengths is %d .",r)
+