Professional Documents
Culture Documents
Simulation Methodology SQ R Well Phy Ed N
Simulation Methodology SQ R Well Phy Ed N
net/publication/348555315
CITATIONS READS
4 2,252
5 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Oruganti S K S Sastri on 17 January 2021.
Submitted on 08-11-2019
36/1/7 1 www.physedu.in
Physics Education January - March 2020
36/1/7 2 www.physedu.in
Physics Education January - March 2020
• Varying the parameters related to the 3.1 Modelling the Physics Problem:
numerical algorithm
Consider a microscopic particle in 1-
We have to run the code by changing
Dimensional system (reference system)such
the various inputs parameters that ef-
as an electron which is of mass m and en-
fect the algorithm to minimize the var-
ergy E (object variables) is interacting with
ious errors associated with them. Typ-
a finite attractive potential well of width ’b’
ical parameters that need to be opti-
and depth V0 (interaction variables). The
mized would be step-size, number of
interaction potential V(x) can be written in
points representing the variable, toler-
equation form as
ance limits on the iterated-quantities,
values that need to remain constant
V0 , −∞ < x < −b/2
with increasing number of iterations,
V (x) = 0, −b/2 6 x 6 b/2 (1)
etc.
V0 , b/2 < x < ∞
Step 4: Simulation
and is plotted below in Figure 1.
• Varying the physical properties associ-
ated with the physical system
Once the code is optimized, the vari-
ables associated with the physics of the
problem can be varied. Plots & tabu-
lar data could be generated for under-
standing the relationships that would
lead to analysis, interpretation & dis-
cussion of the results.
36/1/7 3 www.physedu.in
Physics Education January - March 2020
36/1/7 4 www.physedu.in
Physics Education January - March 2020
(20)
HC = EC (17) and is shown in Figure 2.
36/1/7 5 www.physedu.in
Physics Education January - March 2020
L = 1Bohr = 0.52917725 Å
E = 1 hartree = 27.211396 eV
36/1/7 6 www.physedu.in
Physics Education January - March 2020
36/1/7 7 www.physedu.in
Physics Education January - March 2020
B17. To generate remaining values select cell hartree, we need to convert them into origi-
B17 and drag the cursor upto cell F17 hori- nal units i.e in eV by multiplying with a fac-
zontally. After this, select entire row from tor of 27.211396 so as to compare with ana-
B17:F17 and drag the cursor vertically and lytical values and this is done by typing for-
drop at F21. The complete H matrix hav- mula in cell B35 as: ” = B$28 ∗ 27.211396”
ing 25 elements is shown in Figure 5. Step and drag cursor upto F35.
Figure 5: 5 × 5 H matrix in gnumeric sheet Figure 6: Calculating eigen values and eigen
functions
3 : Calculating the eigenvalues and corre-
sponding eigenvectors Step 4 : Generating basis functions
Gnumeric has an eigen value solver, which In order to determine the wavefunctions in
is not available in other worksheet environ- eq.(8), we need to generate the basis func-
ments such as MS-excel or open Office Calc. tions, φn ( x ). In Figure 7, we generate x-
Here, we have generated 5 × 5 matrix in values first from A43:A58 at an interval of
Step 2 which has 5 eigen values and 5 × 1 1 i.e 16 values and the values of ’n’ are to be
eigen vector for each of them. Now, select fed in cells B41:F41 as 1, 2, 3, 4, 5. The cells
6×5 matrix from B28 to F33 by dragging the B42:F42 are labelled for clarity as phi1 ( x ),
mouse and then we type in formula bar: phi2 ( x ), phi3 ( x ), phi4 ( x ) and phi5 ( x ) respec-
” = eigen( B17 : F21)” tively. Now, select the entire array i.e. range
and press Ctrl+Shift+Enter keys together. of cells from $B43:$B58 and then enter in for-
With this, all 5 eigen values will appear in mula bar:
cells B28:F28 in decreasing order along with
their corresponding 5 column vectors below =sqrt(2/$C$5)$sin(B$41*pi()*
each of them as shown in Figure 6. ($A43:$A58)/$C$5)
Since all energy values come out to be in
36/1/7 8 www.physedu.in
Physics Education January - March 2020
36/1/7 9 www.physedu.in
Physics Education January - March 2020
36/1/7 10 www.physedu.in
Physics Education January - March 2020
36/1/7 11 www.physedu.in
Physics Education January - March 2020
Table 2: Variation of energy eigen values with infinite square well width ‘a’ for b = 4 Å =
7.559 Bohr and V0 = 14eV = 0.514 hartree. N is varied till convergence is acheived.
36/1/7 12 www.physedu.in
Physics Education January - March 2020
Table 3: Variation of energy eigen values Table 4: Variation of energy eigen values
with finite square well width(b) for N = with finite square well depth(V0 ) for N =
140, a = 8 Å = 15.118 Bohr and V0 = 14eV = 100, a = 20 Å = 15.118 Bohr and b = 4 Å =
0.514 hartree. The analytical value corre- 7.559 Bohr. The values written inside brack-
sponding to energies are shown below in ets are analytical results corresponding to
brackets. energies.
Numerical(Analytical) Numerical(Analytical)
energy eigen values(eV) energy eigen values(eV)
b=2Å b=4Å b=6Å Finite well Infinite
(a=20Å) (a=16Å) (a=16Å) well
E1 3.915 1.467 0.756 4
V0 =50eV V0 =1000eV V0 =10 eV
(3.915) (1.467) (0.756) E1 1.812 2.212 2.346 2.350
E2 12.972 5.712 2.997 (1.812) (2.212) (2.346)
(12.972) (5.712) (2.997) E2 7.214 8.846 9.383 9.401
E3 11.919 6.619 (7.214) (8.846) (9.382)
(11.919) (6.619) E3 16.084 19.900 21.112 21.152
E4 11.302 (16.084) (19.900) (21.110)
(11.302) E4 28.135 35.373 37.533 37.603
(28.135) (35.372) (37.530)
References
E5 42.510 55.259 58.646
[1] Marsiglio F., ”The Harmonic Oscil- (42.510) (55.258) (58.640)
lator in Quantum Mechanics:A third
[4] Sharda, V. , Sastri, O. S. K. S., Bhardwaj,
way”, American Association of Physics
J., & Jha, A. K. (2016), ”A computer sim-
Teachers 77, no. 3, (2009): 253-258.
ulation using spreadsheets for learning
concept of steady-state equilibrium”,
[2] Jugdutt B.A. and Marsiglio F., ”Solv-
Physics Education 51, no. 2, (2016):
ing for three- dimensional central po-
025007.
tentials using numerical matrix meth-
ods”, American Association of Physics
Teachers 81, no. 5, (2013): 345-346. [5] Sharda, V. , Bhardwaj, J., Sastri, O. S.
K. S., & Jha, A. ”A. Learning to Con-
[3] Jelic V and Marsiglio F., ”The Dou- struct Boltzmann Distribution Con-
ble Well Potential in Quantum Mechan- cept: Using Computer Simulation Ac-
ics:a simple, numerically exact formu- tivity”, International Education Con-
lation”, European Journal of Physics, ference, Learning Technology in Edu-
(2012):1-10. cation, (2015): 367-374.
36/1/7 13 www.physedu.in
Physics Education January - March 2020
[6] Aditya, Abhishek, Ravikanth and Sas- [11] Goswami, Amit. The idealistic inter-
tri O.S.K.S, ”Computer Simulation Ap- pretation of quantum mechanics. 1989.
proach to Teaching Fundamental Ideas
in Statistical Physics”, THE BEDE [12] Ghatak, Ajoy K., and S. Lokanathan.
ATHENAEUM 3, no. 1, (2012): 1-5. Quantum mechanics: theory and appli-
cations. Macmillan, 2004.
[7] McKagan et al., ”Developing and
researching PhET simulations for [13] Zettili, Nouredine. ”Quantum mechan-
teachingquantum mechanics”, Amer- ics: concepts and applications.” (2003):
ican Journal of Physics 76, (2008): 93-93.
[14] DeVries, Paul L., and Patrick Hamill. A
406-417.
first course in computational physics.
[8] Moore, E. B., & Lewis C., ”Opportu- (1995): 283-285.
nity: Inclusive Design for Interactive
Simulations”, Proceedings of the 17th [15] Chapra, Steven C., and Raymond P.
International ACM SIGACCESS Con- Canale. Numerical methods for engi-
ference on Computers & Accessibility, neers. Boston: McGraw-Hill Higher
(2015): 395-396. Education, 2010.
36/1/7 14 www.physedu.in