Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
518
|
第十三章
13.5 掠食者與獵物模型的動力學模擬
問題點
你想要模擬掠食者與獵物模型,觀察掠食者與獵物的數量如何隨時間演變。[Page-519]
ch13.indd 518 2014/4/2 下午 02:31:01
13.5 掠食者與獵物模型的動力學模擬
|
519
解決方案
假設模型中的掠食者為狐狸,獵物為野兔,
G
代表野兔的成長率,
K
代表環境的負荷量,
則野兔的數量
R
與狐狸的數量
F
可使用差分方程式模擬。至於方程式的形式與常數的意
義詳見後文「討論說明」部分。
若初始條件給定,
NestList
指令是運算此動力學模型的方法之一。[Page-520]
上圖呈現模擬的結果。在一開始,狐狸的數量緩慢地隨著野兔的數量增加,直到出現一
個反折點,由於狐狸過多導致野兔的數量開始減少,如此反覆循環,最終此模型將演化
至一穩定狀態。
討論說明
獵物方程式假設成長數量與目前數量成正比,但需受限於 logistic 模型,這是因為環境
負荷量是有限的,此外還須減去一項正比於掠食者與獵物乘積的數目,這是受掠食者捕
食的數量,其常數 0.0001 代表掠食者捕食的效率。而掠食者方程式則假設成長數量與捕
食獵物的能力成正比(與獵物方程式有相同的項),並減去自然死亡的數量(上例的死
亡率為百分之二)。
ch13.indd 519 2014/4/2 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106