Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Python The Duffing map is defined as follows: x n + 1 = y n , y n + 1 = - b *
Use Python
The Duffing map is defined as follows:
where a and are parameters. For this exercise we shall fix and
throughout.
a Set up a function, which given a and returns and according to the Duffing map.
b Starting from the initial condition and plot the first iterations of the Duffing map. You only need to plot the values.
c Find the fixed points of the Duffing map. You do not have to do this numerically.
d Represent the output of the first iterations of the map on the plane, so
you can see the strange attractor. Remove transient effects by plotting only after iterations.
e Let's look at the fractallike behaviour of the strange attractor. Run your map for many iterations say up to but it will depend on your computer To do this, I recommend setting up a vector to hold all your iteration outputs, and then plotting at the end. This will be much faster than plotting on each time through the loop. Zoom in on a subset of the strange attractor, by plotting only the points that fall in the ranges in and If you run in interactive mode you will be able to zoom in Describe the strange attractor. Is it selfsimilar?
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