CHEM 5 Lecture Notes - Cartesian Coordinate System, Femtolitre, Glossary Of Video Game Terms

61 views21 pages
School
Department
Course

Document Summary

We have seen that mathematica is very useful for making plots of functions of one variable. In this lesson we explore some of mathematica"s capabilities for plotting functions of two variables. As an example, we will consider the quantum mechanical problem of a particle in a two-dimensional box, i. e. , quan- tum particle confined in two dimensions between walls that correspond to regions of infinite potential energy. Solution of the schr dinger equation for this system gives the quantized energies: En1, n2 = in1 yn1, n2hx, yl = 2. According to the born interpretation of the wavefunction, y 2 is the probability density of the quantum particle, i. e. , y 2dxdy is the probability of finding the particle within dxdy of the point (x,y). In[1]:= psi@x_, y_d := 2 sin@n1 pi xd sin@n2 pi yd; H* plot using replacement rules to set the values of n1 and n2 *l.