Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need to write in python spyder 2. Quantum harmonic oscillator. In classical mechanics, a particle has a definite position x. As you may have heard,

image text in transcribedimage text in transcribed

need to write in python spyder 
2. Quantum harmonic oscillator. In classical mechanics, a particle has a definite position x. As you may have heard, this is not true in quantum mechanics, which is a more fundamental theory. For a harmonic oscillator (a mass on a spring) the energy is only allowed to have certain discrete values En where n - 0,1,2... and when the energy is E-En the probability of finding the mass at position x is given b p(x)(H( The first factor e-a is a gaussian (bell-shaped curve), while the sec- ond factor is the square of the "Hermite polynomial" Hn(x), one of many special families of functions discovered by mathematicians in the nineteenth century. For this problem, plot p(x) for the four n values 0, 1, 2, and 50. Please make the four plots subplots on one figure, with a title like n- .. on each subplot. Hints: . The function Hn(x) is available as scyp. special. eval-hermite(n,x) The plot of p(x) for each n should cover the range -max sxs I suggest you make your program work for one n at a time before trying to combine the four n's in one figure

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

Discuss target market strategies 4243

Answered: 1 week ago

Question

Explain demotion as an alternative to termination.

Answered: 1 week ago

Question

Discuss termination of employees at various levels.

Answered: 1 week ago

Question

Discuss the various approaches to disciplinary action.

Answered: 1 week ago