Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Matlab to solve the 1D Schrodinger equation by finite differences. Hint: you'll set up an N x N matrix, where the elements index the
Use Matlab to solve the 1D Schrodinger equation by finite differences. Hint: you'll set up an N x N matrix, where the elements index the position x, and N is the mesh size. Diagonalize the matrix to find the eigenvalues and eigenvectors. The eigenvalues correspond to the energies En, and the eigenvectors correspond to the wavefunction n(x). Print out your code where you assemble and diagonalize the matrix. Then run your calculation for the following conditions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started