Add second year
This commit is contained in:
12
second/semester2/CT248/Assignments/Assignment-06/test.m
Normal file
12
second/semester2/CT248/Assignments/Assignment-06/test.m
Normal file
@ -0,0 +1,12 @@
|
||||
clear;
|
||||
|
||||
global k;
|
||||
|
||||
k = [0.015 0.7 0.5 0.01].';
|
||||
|
||||
[t,y] = ode45(@shark_tuna_model, [0 50], [100 100]);
|
||||
plot(t,y);
|
||||
title("SHARK-TUNA POPULATION DYNAMICS LIMIT CYCLING");
|
||||
xlabel("TIME");
|
||||
ylabel("POPULATION NUMBERS");
|
||||
legend("SHARKS", "TUNA", "Location", "northwest");
|
Reference in New Issue
Block a user