From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1271/CH15/EX15.22/22.txt | 8 ++++++++ 1271/CH15/EX15.22/example15_22.sce | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100755 1271/CH15/EX15.22/22.txt create mode 100755 1271/CH15/EX15.22/example15_22.sce (limited to '1271/CH15/EX15.22') diff --git a/1271/CH15/EX15.22/22.txt b/1271/CH15/EX15.22/22.txt new file mode 100755 index 000000000..2b3140247 --- /dev/null +++ b/1271/CH15/EX15.22/22.txt @@ -0,0 +1,8 @@ + +# PROBLEM 22 # +Standard formula used + E = (n^2 * h^2) / (8 * m * L^2)) + p_n = n*h/(2*pi) + + Order of exited state is 16. + Momentum of electron is 1.326216e-23 kg-m/sec. \ No newline at end of file diff --git a/1271/CH15/EX15.22/example15_22.sce b/1271/CH15/EX15.22/example15_22.sce new file mode 100755 index 000000000..ad7c5b3eb --- /dev/null +++ b/1271/CH15/EX15.22/example15_22.sce @@ -0,0 +1,18 @@ + +clc +// Given that +l = 4e-10 // width of box in m +E = 9.664e-17 // energy of electron in J +e = 1.6e-19 // charge on an electron in C +m = 9.1e-31 // mass of electron in kg +c = 3e8 // speed of light in m/sec +h = 6.62e-34 // Planck constant in J-sec +// Sample Problem 22 on page no. 15.33 +printf("\n # PROBLEM 22 # \n") +printf("Standard formula used \n") +printf(" E = (n^2 * h^2) / (8 * m * L^2)) \n p_n = n*h/(2*pi) \n") +n = 1 // for n=1 +E1 = (n^2 * h^2) / (8 * m * l^2) +N = sqrt(E / E1) +p = ((N) * h) / (2 * l) +printf("\n Order of exited state is %d.\n Momentum of electron is %e kg-m/sec.",N,p) -- cgit