@samuelstark
2016-05-08T13:57:02.000000Z
字数 1104
阅读 514
author : 2013301020086 Yuqi Wang
homework
E.N.Lorenz (1963) was studying the basic equations of fluid mechanics, ehich are known as the Navier-Stokes equitions; they can be thought of as Newton's laws written in a form appropriate for a fluid. These are a complicated set of differential equations that describe the celocity, tempreture, density, etc., as functions of position and time, and that is precisely what Lorenz did. indeed, he grossly oversimplified the problem as he reduced it to only three equitions:
This is the complete code
Euler-Cromer method is applied:
With the initial condition , I get: