Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please wrire a program in Python! RK- Runge Kutta method Use the RK as well as the symplectic method to calculate the trajectories of a

Please wrire a program in Python! RK- Runge Kutta methodimage text in transcribed

Use the RK as well as the symplectic method to calculate the trajectories of a particle of mass m=1 for the following double well potential, V(q)=0.15q4q2 Consider two cases: (a) (q0,p0)=(1,0) (b) (q0,p0)=(2.59,0) Use a stepsize of t=0.1s and calculate 1000 revolutions of the particle. Plot the first and the last revolution in phase space. Furthermore, calculate the revolution times, plot them and explain the behavior of your results. Remark: Since storing the momenta of each time step of a long-term trajectory requires a lot of memory, one would - in practice - perform the calculation of the revolution time during the ODE-solving (where in each step the momenta pn and pn+1 are compared). However, to keep the tasks of this assignment separated, we do that as a kind of a post-processing step here

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

More Books

Students also viewed these Databases questions

Question

here) and other areas you consider relevant.

Answered: 1 week ago