Question: Please help me with this MATLAB problem and provide all code. Thank you! 4. The system dy dt dz dt d.x =-sx + sy dt
Please help me with this MATLAB problem and provide all code. Thank you!

4. The system dy dt dz dt d.x =-sx + sy dt is the famous Lorenz system. It was developed as a model for weather prediction, but it has since become famous because its solutions display chaotic behavior (a) (4 points) Let b = 8/3, s = 10, and r = 27. Use initial conditions x(0) =-4, y(0) = 5, and z(0) = 10, Use ode45 to solve this system on 0 t 30, Change one of the initial conditions by 0.1, and solve it again. Hand in a plot of the two z(t) solutions on the same axes. How do the two solutions for z(t) compare? This is an example of the chaotic behavior of this system of equations. (b) (2 points) Run your code one more time with the original initial conditions, and plot the 3D trajectory. Use the plot3 command with the x(t), y(t), and z(t) arrays as arguments. You will see the famous Lorenz strange attractor. Rotate it around a bit, and turn in a plot of an angle you like. 4. The system dy dt dz dt d.x =-sx + sy dt is the famous Lorenz system. It was developed as a model for weather prediction, but it has since become famous because its solutions display chaotic behavior (a) (4 points) Let b = 8/3, s = 10, and r = 27. Use initial conditions x(0) =-4, y(0) = 5, and z(0) = 10, Use ode45 to solve this system on 0 t 30, Change one of the initial conditions by 0.1, and solve it again. Hand in a plot of the two z(t) solutions on the same axes. How do the two solutions for z(t) compare? This is an example of the chaotic behavior of this system of equations. (b) (2 points) Run your code one more time with the original initial conditions, and plot the 3D trajectory. Use the plot3 command with the x(t), y(t), and z(t) arrays as arguments. You will see the famous Lorenz strange attractor. Rotate it around a bit, and turn in a plot of an angle you like
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
