Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

One of the most celebrated set of differential equations in physics are the Lorenz equations: = ( ) , = , = , where ,

One of the most celebrated set of differential equations in physics are the Lorenz equations:
=(),=,=,
where , r and b are constants (named such for historical reasons).
The reason for their fame is that they were one of the first examples of deterministic chaos.
Task: 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

why we face Listening Challenges?

Answered: 1 week ago

Question

what is Listening in Context?

Answered: 1 week ago