Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Jupyter/python. Use the same function names V(x, y) = xv e-(x+y?) (all terms dimensionless) with four maxima centred at x = +1 and y =
Jupyter/python. Use the same function names
V(x, y) = xv e-(x+y?) (all terms dimensionless) with four maxima centred at x = +1 and y = +1, respectively. It is defined as a repulsive potential for any test particle (the pinball) moving through that potential. The equations of motion to solve hence are = -2.0 y x(1 - x) e-(x2+y2) dt2 and dx(t) dy(t) =-2.0 x y(1 12) e-(x2+x?). dt2 Task: Solve these two coupled ODE's in stages: (a) write a function trajectory(impactpar, speed) which takes the impact parameter, x(O), as input as well as the speed v, for initial conditions (impact dx(0) dy(0) parameter= x(0), Ux = y(0) and vy = in that order). Calculate the time array to solve for from np.linspace(0,maxtime, 300) where di maxtime works well as 10 / speed. The function shall return the trajectory, i.e. the arrays of solved x(t) and y(t) separately. Plot a trajectory of your choice, see below, with appropriate axes labels. di As initial values, fix vx = dx(0) = 0.0 and y0) = -2 (away from the potential in y). The range of sensible initial values for x(O), should be between dt -0.9Step 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