diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH15/EX15.21 | |
download | Scilab-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.21')
-rwxr-xr-x | 1271/CH15/EX15.21/21.txt | 8 | ||||
-rwxr-xr-x | 1271/CH15/EX15.21/example15_21.sce | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/1271/CH15/EX15.21/21.txt b/1271/CH15/EX15.21/21.txt new file mode 100755 index 000000000..0e700d524 --- /dev/null +++ b/1271/CH15/EX15.21/21.txt @@ -0,0 +1,8 @@ + # PROBLEM 21 #
+Standard formula used
+ E = (n^2 * h^2) / (8 * m * L^2))
+
+ Energy Eigen values -
+ For (n=2) for 80.000000 eV.
+ For (n=3) is 180.000000 eV.
+ For (n=4) is 320.000000 eV.
diff --git a/1271/CH15/EX15.21/example15_21.sce b/1271/CH15/EX15.21/example15_21.sce new file mode 100755 index 000000000..bcd2d5560 --- /dev/null +++ b/1271/CH15/EX15.21/example15_21.sce @@ -0,0 +1,19 @@ +clc +// Given that +E1 = 3.2e-18 // minimum energy possible for a particle entrapped in a one dimensional box 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 21 on page no. 15.32 +printf("\n # PROBLEM 21 # \n") +printf("Standard formula used \n") +printf(" E = (n^2 * h^2) / (8 * m * L^2)) \n") +E1 = E1 / e // in eV +n = 2 // for n=2 +E2 = n^2 * E1 +n = 3 // for n=3 +E3 = n^2 * E1 +n = 4 // for n=4 +E4 = n^2 * E1 +printf("\n Energy Eigen values -\n For (n=2) for %f eV.\n For (n=3) is %f eV.\n For (n=4) is %f eV.",E2,E3,E4) |