are linked equations that Lorenz used for his model.
According to Dr. Gary Davis, the constants σ, ρ and β are parameters related to physical properties of a fluid in motion: kinematic viscosity and heat flow. I suppose a thermodynamic course could example this in great detail. Well anyway, Lorenz gave them values: σ = 10, β = 8/3 and ρ = 28.
First we used Euler’s method and excel to make a spreadsheet with the formulas above. The problem with the representation of this model in excel is that this a 3D model and excel can only graph 2 D functions.
We had to try out different numerical values to make the X(t) and Y(t) vs time graph realistic.
The red line represnts the growth of predators and the blue reprensents preys. SOMETHING WENT WRONG WITH THE PREY! the problem might because of the numerical values that we chose.
The excel graph is suppose to resemble this graph done in MathLab. As you would expect the predator to eat the prey, the graph shows just that. As the population of Preys increase so does the predator’s population because they have food supply to survive on. When the prey population reaches it peak and starts decreasing the predator population keeps increasing because even though it becomes harder for them to find food, they still find it. They only start dying after there are no more prey remaining. And The predator population reaches its lowest, the prey population has a chance to increase because they aren’t predators to eat them.
Using MathLab, I found a general solution to the equation. I typed in the code >> sol1 = dsolve( ‘Dy = (t-y)/(t+y)’, ‘y(0) = 2′, ‘t’) and the answer that MathLab spits out is .
The Codes
>>[T, Y] = meshgrid(-2:0 .10:2, -4:0 . 2:3);
>>S = (T-Y)/(T+Y);
>>quiver(T, Y, ones(size(S)), S), axis tight
should produce a graph that looks like the following
This graph is also has answer that look like the following
This answer is more specific because it includes arbitrary constants represented by C1. The answer is and . The field graph represents the many different solutions that one can obtain depending on the initial point chosen. For each different initial point the curve obtained will be different. It behave diffidently and even take different directions sometimes.
EULER’S METHOD
Euler’s method suggests that we use excel to graph the equation. So by picking an initial T and plugging it into the equation we will find a Y value. Excel will allow you to get as many values for T and Y that you will aquire to make a graph.
Here are some examples of graphs with different initial points:
To verify that these graphs are accurate, I used the field graph produced on MathLab. If you click on approximately the same initial points as in the excel graphs, you should get relatively the same curves.
is the general solution and the graph the curves shown are from the same initial points previous picked for the graph above.
To calculate the exact solution to we start with this step
but we can’t continue on because this can’t be solve. The variables cannot be seperated which makes it impossible to solve.