(11C) Rabbits VS Foxes Simulation
|
07-29-2018, 06:46 AM
(This post was last modified: 02-20-2020 12:39 AM by Gamo.)
Post: #1
|
|||
|
|||
(11C) Rabbits VS Foxes Simulation
This program was modify from the promotional ad for the
HP-25 Scientific Programmable calculator. A simple ecological model of interacting populations consists of rabbits with an infinite food supply and foxes that prey on them. The system can be approximated by a pair of nonlinear, first-order differential equations. This program simulate the population between the rabbit and fox given the number of rabbits and the number of foxes. Example: α = 0.01 // STO 0 // Frequency (how often rabbits and foxes meet) h = 0.02 // STO 1 // Step size r = 300 // Rabbits f = 150 // Foxes In Run mode: Clear REG ,01 STO 0 ,02 STO 1 300 [ENTER] 150 f [A] Display keep going: 303,00156 // 303 are Rabbits and 156 are Foxes 305,00162 307,00169 309,00176 311,00183 312,00191 312,00199 . . . Simulation keep going for observation........ Press any keys except [ON] to stop. Press [R/S] to continue. User can turn off the calculator and keep continue from where you stop the last time simply press [R/S] assuming that the storage registers haven't been change. Program: Rabbits VS Foxes Populations Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Rabbits VS Foxes Simulation - Gamo - 07-29-2018 06:46 AM
RE: (11C) Rabbits VS Foxes Simulation - Leviset - 07-29-2018, 08:42 AM
RE: (11C) Rabbits VS Foxes Simulation - SlideRule - 07-30-2018, 11:43 PM
RE: (11C) Rabbits VS Foxes Simulation - Thomas Klemm - 07-29-2018, 12:07 PM
RE: (11C) Rabbits VS Foxes Simulation - Gamo - 07-29-2018, 02:03 PM
RE: (11C) Rabbits VS Foxes Simulation - SlideRule - 07-29-2018, 10:51 PM
RE: (11C) Rabbits VS Foxes Simulation - Thomas Klemm - 07-30-2018, 05:58 AM
RE: (11C) Rabbits VS Foxes Simulation - SlideRule - 07-30-2018, 09:47 AM
RE: (11C) Rabbits VS Foxes Simulation - Thomas Klemm - 07-30-2018, 01:03 PM
RE: (11C) Rabbits VS Foxes Simulation - Gamo - 07-30-2018, 01:13 PM
|
User(s) browsing this thread: 2 Guest(s)