Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pinball scattering is a purely Newtonian equations of motion exercise without feedback or random numbers but showing chaotic behaviour regardless. Consider the potential ( ,
Pinball scattering is a purely Newtonian equations of motion exercise without feedback or random numbers but showing chaotic behaviour regardless.
Consider the potential
all terms dimensionless with four maxima centred at pm and pm 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
and
Task: Solve these two coupled ODE's using solveivp in two stages:
a write a function trajectoryimpactpar speed which takes the impact parameter, as input as well as the speed for initial conditions impact parameter and in that order Calculate the time array to solve for from nplinspacemaxtime, where maxtime works well as speed. The function shall return the trajectory, ie the arrays of solved xt and yt separately. Plot a trajectory of your choice, see below, with appropriate axes labels.
As initial values, fix and away from the potential in The range of sensible initial values for should be between but values around are quite interesting to observe. Likewise, pick an initial speed
b Write a function scatteranglesallb speed which takes an array of impact parameter from the interval with a step size of as input as well as a speed value. Use the same time array as in part a Loop over the impact parameter values, solve the ODE's and determine the scatter angle. Again, as initial values, fix and Fix the speed input value at when calling the scatteranglesallb speed function before plotting the result, see below.
That scatter angle is determined from the final value of velocity components, ietan at the maximum time value. Store the scatter angle at each loop iteration and return it as an array. Plot the scatter angle as a function of impact parameter with appropriate axes labels. Note that the imported python math function atanyx has the correct and safe return range of since backscattering of the pinball can and will take place.
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