Question: solve the Lorenz equations for the case = 1 0 , = 2 8 . 5 and = 1 0 / 3 in the range

solve the Lorenz equations for the case =10,=28.5 and =10/3 in the range from =0 to =40, with initial conditions (,,)=(0,1,0). Set the number of evaluation points in time to 10000. Create a function called butterfly() which encapsulates the full solution code and returns the result of solve_ivp() such that it can be called in the tests, without input arguments (see tests).
Plot the variable z against x, a trajectory plot. You should see a picture of the famous strange attractor of the Lorenz equations, a lop-sided butterfly shaped plot that never repeats itself. The plot should not be part of the butterfly() function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!