Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 2 (50 points) Consider the following three-dimensional nonlinear dynamical system dt dys dt It is known that the solution to (4) is chaotic in
Exercise 2 (50 points) Consider the following three-dimensional nonlinear dynamical system dt dys dt It is known that the solution to (4) is chaotic in time and it settles on a strange attractor. By using the function AB2.m you coded in Exercise 1, compute the numerical solution to (4). To this end, set NSTEPS-1e5, DT 1e-3, 10STEP-50, y0-11; 2; 3), and write a function function [y,t]-solve.ODE.system) Output: y: 3xS matrix collecting S time snapshots of the solution to (4). Note that S-floor (NSTEPS/IOSTEP)+1-2001. t: 1 x S vector collecting the time instants at which the solution is saved in the output matrix y. The function solve.ODE.system should also return the following items: 1. The graphs of y(t), (t) and m(t) versus time in figure (1). 2. A three-dimensional plot of the curve (m(t),y2(t),V3(t))in figure(2) (use the Matlabcommand plot3() - see the documentation)
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