Due Date: Friday, October 2
ListLinePlot to draw the first 200 points in the orbit of \((1,1)\) under \(\mathbf{f}\). Include the following options:
ImageSize -> 800 to increase the size of the plotMesh -> All to make the points of the orbit visibleMeshStyle -> PointSize[Large] to increase the size of the pointsListPlot (not ListLinePlot) to draw the first 500,000 points in the orbit of \((1,1)\) under \(\mathbf{f}\). Include the following options:
ImageSize -> 800 to make the plot biggerPlotStyle -> PointSize[Tiny] to decrease the size of the pointsManipulate to create an interactive ListLinePlot of the first 200 points in the orbit of a point \(p\) under the function \(\mathbf{f}(x,y) = \bigl(1+\sin y,0.2y-x\bigr)\), with the position of \(p\) determined by a Locator. Include the following options:
ListLinePlot suggested in question 1(a)PlotRange -> {{-2,2},{-2,2}} to fix the size of the viewing window.Pendulums.nb contains code for the commands Pendulum and DDPendulum. You can use these commands as follows:
Pendulum[{\(\theta_0\),\(\omega_0\)},\(t_{\scriptscriptstyle\mathrm{max}}\)] returns the function \(\theta(t)\) for a basic pendulum with initial conditions \(\theta(0) = \theta_0\), \(\theta\hspace{0.08333em}'(0) = \omega_0\). The function \(\theta(t)\) will only work for \(0 \leq t \leq t_{\scriptscriptstyle\mathrm{max}} \).
DDPendulum[{\(\theta_0\),\(\omega_0\)},\(t_{\scriptscriptstyle\mathrm{max}}\)] works the same way, but it returns the function \(\theta(t)\) for a damped driven pendulum.
Animate to display an animation of a (basic) moving pendulum. The animation should run for 100 seconds, and the pendulum should start at \(\theta(0) = \pi/2\) and \(\theta\hspace{0.08333em}'(0) = 0\). Your animation should include:
Line for the stringDisk for the bobPlotRange option for Graphics to keep your image stableAnimationRate -> 1 option for Animate to run the animation at the appropriate rate.Pendulum inside of Animate—this command is too slow to run every frame. Call Pendulum beforehand to get the function \(\theta(t)\), and then use the result inside of Animate.
Row inside of Animate to show side-by-side animations of the damped driven pendulum with slightly different initial conditions. (You will need to use ImageSize for each Graphics or they will be very small.) Use \(\theta(0) = 1\) or \(1.01\) and \(\theta\hspace{0.08333em}'(0) = 0\) for your two initial states. Does this system exhibit sensitive dependence on initial conditions?
Advance[{\(\theta_0\),\(\omega_0\)}] for the damped driven pendulum that takes a pair \(\bigl(\theta(0),\theta\hspace{0.083333em}'(0)\bigr)\) as input and outputs \(\bigl(\theta(2\pi),\theta\hspace{0.083333em}'(2\pi)\bigr)\). Use Mod to make sure that the outputted value of \(\theta(2\pi)\) is between \(0\) and \(2\pi\). You may also find the With command helpful for this. Your function works correctly if Advance[{1.0,-9.0}] outputs {3.78895,-7.13387}.
Advance has a strange attractor. Use the method of question 1(b) to draw a picture of this attractor, showing 100,000 points in the orbit of \((0,0)\).