Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please wrire a program in Python! RK- Runge Kutta method and please PERFORM THE SYMPLECTIC METHOD AS WELL! Use the RK as well as the

Please wrire a program in Python! RK- Runge Kutta method and please PERFORM THE SYMPLECTIC METHOD AS WELL!image 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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 1 Lnai 6321

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215879X, 978-3642158797

More Books

Students also viewed these Databases questions

Question

Types of cultural maps ?

Answered: 1 week ago

Question

Discuss the various types of leasing.

Answered: 1 week ago

Question

Define the term "Leasing"

Answered: 1 week ago

Question

What do you mean by Dividend ?

Answered: 1 week ago