본문 바로가기
Project/Python

5. Report4 [hydrogen atom wave function]

by sonpang 2021. 10. 22.
반응형

Example of result when substituting an inappropriate value

Case1

The following result is a case where the range of tolerance is too narrow to be calculated by numerical analysis, or the size or interval is set too wide. In this case, the process of calculating energy and calculating the wave function and probability density function is not satisfied within the Bohr radius in the boundary condition test. Therefore, the graph after the potential energy is not output.

 

Case2

In the following results, if the tolerance range is large, energy may be repeatedly calculated as in the next result. Since there are many results that meet the boundary conditions, all the wavefunctions that meet the conditions are output. Only the first wave function that meets the condition is drawn with the potential energy graph, and after that, when a wave function that meets the condition exists, only subplots except for the potential energy graph proceed according to the code. However, 3D plotting is done only once.

반응형

댓글