CINXE.COM

電腦模擬 - 維基百科,自由嘅百科全書

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="yue" dir="ltr"> <head> <meta charset="UTF-8"> <title>電腦模擬 - 維基百科,自由嘅百科全書</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )zh_yuewikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "yue","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"ce9394bd-7093-4e1a-b54e-4c6981ae4ea8","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"電腦模擬","wgTitle":"電腦模擬","wgCurRevisionId":2067434,"wgRevisionId":2067434,"wgArticleId":260419,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Pages using deprecated source tags","Webarchive模wayback連結","有英文嘅文章","Pages using div col with small parameter","電腦科學","電腦模擬","科學"],"wgPageViewLanguage":"yue","wgPageContentLanguage":"yue","wgPageContentModel":"wikitext","wgRelevantPageName":"電腦模擬","wgRelevantArticleId":260419,"wgTempUserName":null,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia", "wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"yue","pageLanguageDir":"ltr","pageVariantFallbacks":"yue"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":60000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q925667","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={ "ext.gadget.charinsert-styles":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.math.styles":"ready","ext.pygments":"ready","mediawiki.page.gallery.styles":"ready","ext.tmh.player.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","ext.tmh.player","mediawiki.page.media","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.HanTS-conv","ext.gadget.refToolbar","ext.gadget.charinsert", "ext.gadget.internalLinkHelper-altcolor","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=yue&amp;modules=ext.cite.styles%7Cext.math.styles%7Cext.pygments%2CwikimediaBadges%7Cext.tmh.player.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cmediawiki.page.gallery.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=yue&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=yue&amp;modules=ext.gadget.charinsert-styles&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=yue&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/8/8b/Typhoon_Mawar_2005_computer_simulation_thumbnail.gif"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1075"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/8/8b/Typhoon_Mawar_2005_computer_simulation_thumbnail.gif"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="716"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="573"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="電腦模擬 - 維基百科,自由嘅百科全書"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//zh-yue.m.wikipedia.org/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC"> <link rel="alternate" type="application/x-wiki" title="編輯" href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="維基百科 (yue)"> <link rel="EditURI" type="application/rsd+xml" href="//zh-yue.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://zh-yue.wikipedia.org/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh-yue"> <link rel="alternate" type="application/atom+xml" title="維基百科嘅Atom Feed" href="/w/index.php?title=Special:%E6%9C%80%E8%BF%91%E4%BF%AE%E6%94%B9&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-電腦模擬 rootpage-電腦模擬 skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">跳去內容</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="站點"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="主目錄" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">主目錄</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">主目錄</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">移去側欄</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">收埋</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> 導覽 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/%E9%A0%AD%E7%89%88" title="睇頭版[z]" accesskey="z"><span>頭版</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Portal:%E7%9B%AE%E9%8C%84"><span>目錄</span></a></li><li id="n-featuredcontent" class="mw-list-item"><a href="/wiki/Portal:%E6%AD%A3%E5%98%A2"><span>正嘢</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:%E6%99%82%E4%BA%BA%E6%99%82%E4%BA%8B" title="提供而家發生嘅事嘅背景資料"><span>時人時事</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:%E6%98%AF%E4%BD%86%E4%B8%80%E7%89%88" title="是但載入一版[x]" accesskey="x"><span>是但一版</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:%E9%97%9C%E6%96%BC"><span>關於維基百科</span></a></li><li id="n-聯絡處" class="mw-list-item"><a href="/wiki/Wikipedia:%E8%81%AF%E7%B5%A1%E6%88%91%E5%93%8B"><span>聯絡處</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> 交流 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-說明書" class="mw-list-item"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents"><span>說明書</span></a></li><li id="n-城市論壇" class="mw-list-item"><a href="/wiki/Wikipedia:%E5%9F%8E%E5%B8%82%E8%AB%96%E5%A3%87"><span>城市論壇</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:%E7%A4%BE%E5%8D%80%E5%A4%A7%E5%A0%82" title="關於呢個計劃,你可以做乜,應該要點做"><span>社區大堂</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:%E6%9C%80%E8%BF%91%E4%BF%AE%E6%94%B9" title="列出呢個 wiki 中嘅最近修改[r]" accesskey="r"><span>最近修改</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/%E9%A0%AD%E7%89%88" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="維基百科" src="/static/images/mobile/copyright/wikipedia-wordmark-zh_yue.svg" style="width: 7.5em; height: 1.625em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-zh_yue.svg" width="120" height="16" style="width: 7.5em; height: 1em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:%E6%90%9C%E7%B4%A2" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="搵維基百科[f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>查嘢</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="搵維基百科" aria-label="搵維基百科" autocapitalize="sentences" title="搵維基百科[f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:搜索"> </div> <button class="cdx-button cdx-search-input__end-button">搵嘢</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="個人架生"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="閱讀設定"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="閱讀設定" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">閱讀設定</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_zh-yue.wikipedia.org&amp;uselang=yue" class=""><span>捐畀維基百科</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E9%96%8B%E6%88%B6&amp;returnto=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="建議你開返個戶口簽到,不過唔做都無所謂。" class=""><span>開戶口</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:%E7%B0%BD%E5%88%B0&amp;returnto=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="唔係是必要簽到,但建議你噉做。[o]" accesskey="o" class=""><span>簽到</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out user-links-collapsible-item" title="多啲選項" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="個人架生" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">個人架生</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="用戶選單" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_zh-yue.wikipedia.org&amp;uselang=yue"><span>捐畀維基百科</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E9%96%8B%E6%88%B6&amp;returnto=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="建議你開返個戶口簽到,不過唔做都無所謂。"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>開戶口</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:%E7%B0%BD%E5%88%B0&amp;returnto=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="唔係是必要簽到,但建議你噉做。[o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>簽到</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="站點"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="目錄" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">目錄</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">移去側欄</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">收埋</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">文頭</div> </a> </li> <li id="toc-哲學背景" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#哲學背景"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>哲學背景</span> </div> </a> <ul id="toc-哲學背景-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-基本程式" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#基本程式"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>基本程式</span> </div> </a> <ul id="toc-基本程式-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-主要分類" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#主要分類"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>主要分類</span> </div> </a> <button aria-controls="toc-主要分類-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>切換去 主要分類 細章節</span> </button> <ul id="toc-主要分類-sublist" class="vector-toc-list"> <li id="toc-有冇隨機性" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#有冇隨機性"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>有冇隨機性</span> </div> </a> <ul id="toc-有冇隨機性-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-方程定個體" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#方程定個體"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>方程定個體</span> </div> </a> <ul id="toc-方程定個體-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-第啲分類" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#第啲分類"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>第啲分類</span> </div> </a> <ul id="toc-第啲分類-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-各領域嘅應用" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#各領域嘅應用"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>各領域嘅應用</span> </div> </a> <button aria-controls="toc-各領域嘅應用-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>切換去 各領域嘅應用 細章節</span> </button> <ul id="toc-各領域嘅應用-sublist" class="vector-toc-list"> <li id="toc-物理學" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#物理學"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>物理學</span> </div> </a> <ul id="toc-物理學-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-生物學" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#生物學"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>生物學</span> </div> </a> <ul id="toc-生物學-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-認知科學" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#認知科學"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>認知科學</span> </div> </a> <ul id="toc-認知科學-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-社會科學" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#社會科學"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.4</span> <span>社會科學</span> </div> </a> <ul id="toc-社會科學-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-工程學" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#工程學"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.5</span> <span>工程學</span> </div> </a> <ul id="toc-工程學-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-驗證同確認" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#驗證同確認"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>驗證同確認</span> </div> </a> <ul id="toc-驗證同確認-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-創發嘅啟示" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#創發嘅啟示"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>創發嘅啟示</span> </div> </a> <ul id="toc-創發嘅啟示-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-註釋" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#註釋"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>註釋</span> </div> </a> <ul id="toc-註釋-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-睇埋" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#睇埋"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>睇埋</span> </div> </a> <ul id="toc-睇埋-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-文獻" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#文獻"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>文獻</span> </div> </a> <ul id="toc-文獻-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-引述" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#引述"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>引述</span> </div> </a> <ul id="toc-引述-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-拎" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#拎"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>拎</span> </div> </a> <ul id="toc-拎-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="目錄" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="開/收內容一覽" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">開/收內容一覽</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">電腦模擬</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="去睇另一種語文嘅文章。有38種語言版本。" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-38" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">38種語言</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D9%85%D8%AD%D8%A7%D9%83%D8%A7%D8%A9_%D8%A8%D8%A7%D9%84%D8%AD%D8%A7%D8%B3%D9%88%D8%A8" title="محاكاة بالحاسوب – 阿拉伯文" lang="ar" hreflang="ar" data-title="محاكاة بالحاسوب" data-language-autonym="العربية" data-language-local-name="阿拉伯文" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BC%D0%BF%D1%8E%D1%82%D1%8A%D1%80%D0%BD%D0%B0_%D1%81%D0%B8%D0%BC%D1%83%D0%BB%D0%B0%D1%86%D0%B8%D1%8F" title="Компютърна симулация – 保加利亞文" lang="bg" hreflang="bg" data-title="Компютърна симулация" data-language-autonym="Български" data-language-local-name="保加利亞文" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Simulaci%C3%B3_d%27ordinador" title="Simulació d&#039;ordinador – 加泰羅尼亞文" lang="ca" hreflang="ca" data-title="Simulació d&#039;ordinador" data-language-autonym="Català" data-language-local-name="加泰羅尼亞文" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Po%C4%8D%C3%ADta%C4%8Dov%C3%A1_simulace" title="Počítačová simulace – 捷克文" lang="cs" hreflang="cs" data-title="Počítačová simulace" data-language-autonym="Čeština" data-language-local-name="捷克文" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/Computersimulation" title="Computersimulation – 丹麥文" lang="da" hreflang="da" data-title="Computersimulation" data-language-autonym="Dansk" data-language-local-name="丹麥文" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Computersimulation" title="Computersimulation – 德文" lang="de" hreflang="de" data-title="Computersimulation" data-language-autonym="Deutsch" data-language-local-name="德文" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/Computer_simulation" title="Computer simulation – 英文" lang="en" hreflang="en" data-title="Computer simulation" data-language-autonym="English" data-language-local-name="英文" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Komputilsimulado" title="Komputilsimulado – 世界文" lang="eo" hreflang="eo" data-title="Komputilsimulado" data-language-autonym="Esperanto" data-language-local-name="世界文" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Simulaci%C3%B3n_(inform%C3%A1tica)" title="Simulación (informática) – 西班牙文" lang="es" hreflang="es" data-title="Simulación (informática)" data-language-autonym="Español" data-language-local-name="西班牙文" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/Arvutisimulatsioon" title="Arvutisimulatsioon – 愛沙尼亞文" lang="et" hreflang="et" data-title="Arvutisimulatsioon" data-language-autonym="Eesti" data-language-local-name="愛沙尼亞文" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%B4%D8%A8%DB%8C%D9%87%E2%80%8C%D8%B3%D8%A7%D8%B2%DB%8C_%DA%A9%D8%A7%D9%85%D9%BE%DB%8C%D9%88%D8%AA%D8%B1%DB%8C" title="شبیه‌سازی کامپیوتری – 波斯文" lang="fa" hreflang="fa" data-title="شبیه‌سازی کامپیوتری" data-language-autonym="فارسی" data-language-local-name="波斯文" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Tietokonesimulointi" title="Tietokonesimulointi – 芬蘭文" lang="fi" hreflang="fi" data-title="Tietokonesimulointi" data-language-autonym="Suomi" data-language-local-name="芬蘭文" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Simulation_informatique" title="Simulation informatique – 法文" lang="fr" hreflang="fr" data-title="Simulation informatique" data-language-autonym="Français" data-language-local-name="法文" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A1%D7%99%D7%9E%D7%95%D7%9C%D7%A6%D7%99%D7%94_%D7%9E%D7%9E%D7%95%D7%97%D7%A9%D7%91%D7%AA" title="סימולציה ממוחשבת – 希伯來文" lang="he" hreflang="he" data-title="סימולציה ממוחשבת" data-language-autonym="עברית" data-language-local-name="希伯來文" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%85%E0%A4%AD%E0%A4%BF%E0%A4%95%E0%A4%B2%E0%A4%BF%E0%A4%A4%E0%A5%8D%E0%A4%B0_%E0%A4%85%E0%A4%A8%E0%A5%81%E0%A4%95%E0%A4%BE%E0%A4%B0" title="अभिकलित्र अनुकार – 北印度文" lang="hi" hreflang="hi" data-title="अभिकलित्र अनुकार" data-language-autonym="हिन्दी" data-language-local-name="北印度文" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Simulasi_komputer" title="Simulasi komputer – 印尼文" lang="id" hreflang="id" data-title="Simulasi komputer" data-language-autonym="Bahasa Indonesia" data-language-local-name="印尼文" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/Komputerala_simulo" title="Komputerala simulo – 伊多文" lang="io" hreflang="io" data-title="Komputerala simulo" data-language-autonym="Ido" data-language-local-name="伊多文" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/%D0%9C%D0%B0%D1%88%D0%B8%D0%BD%D0%B0%D0%BB%D1%8B%D2%9B_%D2%B1%D2%9B%D1%81%D0%B0%D1%82%D1%82%D1%8B%D1%80%D1%83" title="Машиналық ұқсаттыру – 哈薩克文" lang="kk" hreflang="kk" data-title="Машиналық ұқсаттыру" data-language-autonym="Қазақша" data-language-local-name="哈薩克文" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%BB%B4%ED%93%A8%ED%84%B0_%EC%8B%9C%EB%AE%AC%EB%A0%88%EC%9D%B4%EC%85%98" title="컴퓨터 시뮬레이션 – 韓文" lang="ko" hreflang="ko" data-title="컴퓨터 시뮬레이션" data-language-autonym="한국어" data-language-local-name="韓文" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Simulatio_computatralis" title="Simulatio computatralis – 拉丁文" lang="la" hreflang="la" data-title="Simulatio computatralis" data-language-autonym="Latina" data-language-local-name="拉丁文" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%D0%B8%D0%B9%D0%BD_%D1%81%D0%B8%D0%BC%D1%83%D0%BB%D1%8F%D1%86%D0%B8" title="Компьютерийн симуляци – 蒙古文" lang="mn" hreflang="mn" data-title="Компьютерийн симуляци" data-language-autonym="Монгол" data-language-local-name="蒙古文" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/Penyelakuan_komputer" title="Penyelakuan komputer – 馬來文" lang="ms" hreflang="ms" data-title="Penyelakuan komputer" data-language-autonym="Bahasa Melayu" data-language-local-name="馬來文" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-mwl mw-list-item"><a href="https://mwl.wikipedia.org/wiki/Modelaige_cumputacional" title="Modelaige cumputacional – 米蘭德斯文" lang="mwl" hreflang="mwl" data-title="Modelaige cumputacional" data-language-autonym="Mirandés" data-language-local-name="米蘭德斯文" class="interlanguage-link-target"><span>Mirandés</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Computersimulatie" title="Computersimulatie – 荷蘭文" lang="nl" hreflang="nl" data-title="Computersimulatie" data-language-autonym="Nederlands" data-language-local-name="荷蘭文" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Datasimulering" title="Datasimulering – 巴克摩挪威文" lang="nb" hreflang="nb" data-title="Datasimulering" data-language-autonym="Norsk bokmål" data-language-local-name="巴克摩挪威文" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Symulacja_komputerowa" title="Symulacja komputerowa – 波蘭文" lang="pl" hreflang="pl" data-title="Symulacja komputerowa" data-language-autonym="Polski" data-language-local-name="波蘭文" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Modelagem_computacional" title="Modelagem computacional – 葡萄牙文" lang="pt" hreflang="pt" data-title="Modelagem computacional" data-language-autonym="Português" data-language-local-name="葡萄牙文" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9A%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%D0%BD%D0%BE%D0%B5_%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5" title="Компьютерное моделирование – 俄文" lang="ru" hreflang="ru" data-title="Компьютерное моделирование" data-language-autonym="Русский" data-language-local-name="俄文" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Computer_model" title="Computer model – Simple English" lang="en-simple" hreflang="en-simple" data-title="Computer model" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/Po%C4%8D%C3%ADta%C4%8Dov%C3%A1_simul%C3%A1cia" title="Počítačová simulácia – 斯洛伐克文" lang="sk" hreflang="sk" data-title="Počítačová simulácia" data-language-autonym="Slovenčina" data-language-local-name="斯洛伐克文" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/Ra%C4%8Dunalni%C5%A1ka_simulacija" title="Računalniška simulacija – 斯洛維尼亞文" lang="sl" hreflang="sl" data-title="Računalniška simulacija" data-language-autonym="Slovenščina" data-language-local-name="斯洛維尼亞文" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/%D0%A0%D0%B0%D1%87%D1%83%D0%BD%D0%B0%D1%80%D1%81%D0%BA%D0%B0_%D1%81%D0%B8%D0%BC%D1%83%D0%BB%D0%B0%D1%86%D0%B8%D1%98%D0%B0" title="Рачунарска симулација – 塞爾維亞文" lang="sr" hreflang="sr" data-title="Рачунарска симулација" data-language-autonym="Српски / srpski" data-language-local-name="塞爾維亞文" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Bilgisayar_sim%C3%BClasyonu" title="Bilgisayar simülasyonu – 土耳其文" lang="tr" hreflang="tr" data-title="Bilgisayar simülasyonu" data-language-autonym="Türkçe" data-language-local-name="土耳其文" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%A7%D0%B8%D1%81%D0%B5%D0%BB%D1%8C%D0%BD%D0%B5_%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D1%8E%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F" title="Чисельне моделювання – 烏克蘭文" lang="uk" hreflang="uk" data-title="Чисельне моделювання" data-language-autonym="Українська" data-language-local-name="烏克蘭文" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/M%C3%B4_ph%E1%BB%8Fng_m%C3%A1y_t%C3%ADnh" title="Mô phỏng máy tính – 越南文" lang="vi" hreflang="vi" data-title="Mô phỏng máy tính" data-language-autonym="Tiếng Việt" data-language-local-name="越南文" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/%E8%AE%A1%E7%AE%97%E6%9C%BA%E4%BB%BF%E7%9C%9F" title="计算机仿真 – 吳語" lang="wuu" hreflang="wuu" data-title="计算机仿真" data-language-autonym="吴语" data-language-local-name="吳語" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E8%AE%A1%E7%AE%97%E6%9C%BA%E6%A8%A1%E6%8B%9F" title="计算机模拟 – 中文" lang="zh" hreflang="zh" data-title="计算机模拟" data-language-autonym="中文" data-language-local-name="中文" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zu mw-list-item"><a href="https://zu.wikipedia.org/wiki/UmFefenyeko_wesiCikizi" title="UmFefenyeko wesiCikizi – 祖魯文" lang="zu" hreflang="zu" data-title="UmFefenyeko wesiCikizi" data-language-autonym="IsiZulu" data-language-local-name="祖魯文" class="interlanguage-link-target"><span>IsiZulu</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q925667#sitelinks-wikipedia" title="改跨語言拎" class="wbc-editpage">改拎</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="空間名"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="睇吓內容頁[c]" accesskey="c"><span>文章</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" rel="discussion" title="關於內容頁嘅討論[t]" accesskey="t"><span>討論</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="改語言變體" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">粵語</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="外觀"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC"><span>閱</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit" title="改呢版嘅代碼[e]" accesskey="e"><span>改</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=history" title="呢一頁之前嘅修訂[h]" accesskey="h"><span>睇返紀錄</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="頁面工具"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="架撐" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">架撐</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">架撐</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">移去側欄</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">收埋</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="多啲選項" > <div class="vector-menu-heading"> 動作 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC"><span>閱</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit" title="改呢版嘅代碼[e]" accesskey="e"><span>改</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=history"><span>睇返紀錄</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> 基本 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:%E9%82%8A%E5%BA%A6%E9%8F%88%E5%8E%BB%E5%91%A2%E7%89%88/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="列出所有連接過嚟呢度嘅頁面[j]" accesskey="j"><span>有乜連過嚟</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:%E5%A4%96%E9%8F%88%E4%BF%AE%E6%94%B9/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" rel="nofollow" title="由呢版連出去嘅版嘅最近修改[k]" accesskey="k"><span>連結頁嘅更改</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Project:%E4%B8%8A%E8%BC%89" title="上載檔案[u]" accesskey="u"><span>上載檔案</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:%E5%B0%88%E9%96%80%E7%89%88" title="所有專門版一覽[q]" accesskey="q"><span>專門版</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;oldid=2067434" title="呢版呢個修訂嘅永久網址"><span>固定連結</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=info" title="多啲同呢版有拏褦嘅資料"><span>此版明細</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:%E5%BC%95%E7%94%A8&amp;page=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;id=2067434&amp;wpFormIdentifier=titleform" title="點樣引用呢頁嘅資訊"><span>引用呢篇文</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fzh-yue.wikipedia.org%2Fwiki%2F%25E9%259B%25BB%25E8%2585%25A6%25E6%25A8%25A1%25E6%2593%25AC"><span>攞短網址</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fzh-yue.wikipedia.org%2Fwiki%2F%25E9%259B%25BB%25E8%2585%25A6%25E6%25A8%25A1%25E6%2593%25AC"><span>下載QR code</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> 打印/匯出 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=show-download-screen"><span>下載PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" title="呢一版印得嘅版本[p]" accesskey="p"><span>印得嘅版本</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> 第啲維基項目 </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Computer_simulations" hreflang="en"><span>維基同享</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q925667" title="連到接住資料儲存庫嘅項目[g]" accesskey="g"><span>維基數據項</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="頁面工具"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="閱讀設定"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">閱讀設定</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">移去側欄</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">收埋</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">出自維基百科,自由嘅百科全書</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="yue" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1488945/mw-parser-output/.tmulti">.mw-parser-output .tmulti .thumbinner{display:flex;flex-direction:column}.mw-parser-output .tmulti .trow{display:flex;flex-direction:row;clear:left;flex-wrap:wrap;width:100%;box-sizing:border-box}.mw-parser-output .tmulti .tsingle{margin:1px;float:left}.mw-parser-output .tmulti .theader{clear:both;font-weight:bold;text-align:center;align-self:center;background-color:transparent;width:100%}.mw-parser-output .tmulti .thumbcaption{background-color:transparent}.mw-parser-output .tmulti .text-align-left{text-align:left}.mw-parser-output .tmulti .text-align-right{text-align:right}.mw-parser-output .tmulti .text-align-center{text-align:center}@media all and (max-width:720px){.mw-parser-output .tmulti .thumbinner{width:100%!important;box-sizing:border-box;max-width:none!important;align-items:center}.mw-parser-output .tmulti .trow{justify-content:center}.mw-parser-output .tmulti .tsingle{float:none!important;max-width:100%!important;box-sizing:border-box}.mw-parser-output .tmulti .trow>.thumbcaption{text-align:center}}</style><div class="thumb tmulti tright"><div class="thumbinner" style="width:304px;max-width:304px"><div class="trow"><div class="tsingle" style="width:302px;max-width:302px"><div class="thumbimage"><span typeof="mw:File"><a href="/wiki/File:Typhoon_Mawar_2005_computer_simulation_thumbnail.gif" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Typhoon_Mawar_2005_computer_simulation_thumbnail.gif/300px-Typhoon_Mawar_2005_computer_simulation_thumbnail.gif" decoding="async" width="300" height="269" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/8/8b/Typhoon_Mawar_2005_computer_simulation_thumbnail.gif 1.5x" data-file-width="450" data-file-height="403" /></a></span></div><div class="thumbcaption">用電腦模擬技術模擬一個<a href="/wiki/%E9%A2%B1%E9%A2%A8" title="颱風">颱風</a>出嘅圖像</div></div></div><div class="trow"><div class="tsingle" style="width:302px;max-width:302px"><div class="thumbimage"><span typeof="mw:File"><span><video id="mwe_player_0" poster="//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Boids_OpenGL_example.webm/300px--Boids_OpenGL_example.webm.jpg" controls="" preload="none" data-mw-tmh="" class="mw-file-element" width="300" height="300" data-durationhint="80" data-mwtitle="Boids_OpenGL_example.webm" data-mwprovider="wikimediacommons"><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/4/43/Boids_OpenGL_example.webm/Boids_OpenGL_example.webm.480p.vp9.webm" type="video/webm; codecs=&quot;vp9, opus&quot;" data-transcodekey="480p.vp9.webm" data-width="480" data-height="480" /><source src="//upload.wikimedia.org/wikipedia/commons/4/43/Boids_OpenGL_example.webm" type="video/webm; codecs=&quot;vp8&quot;" data-width="500" data-height="500" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/4/43/Boids_OpenGL_example.webm/Boids_OpenGL_example.webm.144p.mjpeg.mov" type="video/quicktime" data-transcodekey="144p.mjpeg.mov" data-width="144" data-height="144" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/4/43/Boids_OpenGL_example.webm/Boids_OpenGL_example.webm.240p.vp9.webm" type="video/webm; codecs=&quot;vp9, opus&quot;" data-transcodekey="240p.vp9.webm" data-width="240" data-height="240" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/4/43/Boids_OpenGL_example.webm/Boids_OpenGL_example.webm.360p.webm" type="video/webm; codecs=&quot;vp8, vorbis&quot;" data-transcodekey="360p.webm" data-width="360" data-height="360" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/4/43/Boids_OpenGL_example.webm/Boids_OpenGL_example.webm.360p.vp9.webm" type="video/webm; codecs=&quot;vp9, opus&quot;" data-transcodekey="360p.vp9.webm" data-width="360" data-height="360" /></video></span></span></div><div class="thumbcaption">用 <a href="/wiki/OpenGL" title="OpenGL">OpenGL</a> 整嘅群動模擬</div></div></div></div></div> <p><b>電腦模擬</b>(<a href="/wiki/Wikipedia:%E7%B2%B5%E6%96%87%E6%8B%BC%E9%9F%B3" title="Wikipedia:粵文拼音">粵拼</a>:<span class="plainlinks" style="display:inline-block"><a rel="nofollow" class="external text" href="http://yue.forvo.com/word/yue/電腦模擬/#yue"><span>din<span class="Jpingtone">6</span> nou<span class="Jpingtone">5</span> mou<span class="Jpingtone">4</span> ji<span class="Jpingtone">5</span></span></a></span>;<a href="/wiki/%E8%8B%B1%E6%96%87" title="英文">英文</a>:<span lang="en"><b>computer simulation</b></span>),又叫<b>電腦仿真</b>,係<a href="/wiki/%E7%A7%91%E5%AD%B8" title="科學">科學</a>上嘅一種<a href="/wiki/%E7%A7%91%E5%AD%B8%E7%A0%94%E7%A9%B6" class="mw-redirect" title="科學研究">研究</a>方法。研究者會整個<a href="/wiki/%E6%95%B8%E5%AD%B8%E6%A8%A1%E5%9E%8B" title="數學模型">數學模型</a>出嚟<a href="/wiki/%E6%A8%A1%E6%93%AC" title="模擬">模擬</a>想研究嘅現象,個模型會講明個現象涉及邊啲<a href="/wiki/%E8%AE%8A%E6%95%B8_(%E7%A7%91%E7%A0%94)" title="變數 (科研)">變數</a>同埋呢啲變數之間嘅<a href="/wiki/%E6%96%B9%E7%A8%8B%E5%BC%8F" title="方程式">方程式</a>係點,跟住個研究者就會將個模型寫成<a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A8%8B%E5%BC%8F" title="電腦程式">電腦程式</a>嚟行,睇吓「如果個數學模型正確,會發生乜嘢事」,做到按<a href="/wiki/%E7%A7%91%E5%AD%B8%E7%90%86%E8%AB%96" title="科學理論">理論</a>知識預測現實世界嘅現象。除此之外,電腦模擬通常會配合埋<a href="/wiki/%E7%A7%91%E5%AD%B8%E8%A6%96%E8%A6%BA%E5%8C%96" title="科學視覺化">科學視覺化</a>技術,將模擬結果以<a href="/wiki/%E5%9C%96%E5%83%8F" class="mw-redirect" title="圖像">圖像</a>形式呈現出嚟<sup id="cite_ref-strogatz2007_1-0" class="reference"><a href="#cite_note-strogatz2007-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-basicode_2-0" class="reference"><a href="#cite_note-basicode-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>舉個簡單例子說明,<a href="/wiki/%E7%BE%A4%E5%8B%95" title="群動">群動</a>係電腦模擬嘅一個出名例子,想像家陣有一大柞個體一齊移動,途中佢哋會守三條規則:<b>分隔</b>-唔好撞到隔離嘅其他個體;<b>順向</b>-將自己方向對準周圍其他個體嘅<a href="/wiki/%E5%B9%B3%E5%9D%87%E5%80%BC" title="平均值">平均</a>;<b>凝聚</b>-將自己置於周圍其他個體嘅平均嘅位置。用電腦模擬嘅話,個<a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A8%8B%E5%BC%8F" title="電腦程式">程式</a>會<a href="/wiki/%E8%99%9B%E6%93%AC%E7%A2%BC" title="虛擬碼">類似噉</a>: </p> <pre> 設 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 件<a href="/wiki/%E7%89%A9%E4%BB%B6_(%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8)" title="物件 (電腦科學)">物件</a>; 設呢 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 件物件嘅初始位置 設 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span>(時間)= 0; <a href="/wiki/While_%E8%BF%B4%E5%9C%88" title="While 迴圈">While</a> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 未到某個值, <a href="/wiki/Foreach" class="mw-redirect" title="Foreach">Foreach</a> 物件 計「如果呢件物件跟嗰三條法則郁,佢嘅新位置會响邊」; <a href="/wiki/%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" title="電腦圖像">顯示</a>出每件物件嘅新位置; <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 上升 1; </pre> <p>於是研究者就能夠知道「如果群動嘅數學模型正確,會發生乜嘢事(啲物件郁起上嚟望落會係點嘅樣)」。事實表明咗,群動模型可以準確噉預測某啲<a href="/wiki/%E8%87%AA%E7%84%B6%E7%8F%BE%E8%B1%A1" title="自然現象">自然現象</a>,例如係一大群<a href="/wiki/%E9%9B%80%E9%B3%A5" class="mw-redirect" title="雀鳥">雀鳥</a>一齊飛嗰陣成個雀群成嘅形態<sup id="cite_ref-reynolds1987_3-0" class="reference"><a href="#cite_note-reynolds1987-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>電腦模擬係<a href="/wiki/%E7%A7%91%E5%AD%B8%E9%81%8B%E7%AE%97" title="科學運算">科學運算</a>不可或缺嘅一部份,喺<a href="/wiki/%E7%89%A9%E7%90%86%E5%AD%B8" title="物理學">物理學</a><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup>、<a href="/wiki/%E5%8C%96%E5%AD%B8" title="化學">化學</a><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup>同<a href="/wiki/%E7%94%9F%E7%89%A9%E5%AD%B8" title="生物學">生物學</a><sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">&#91;</span>6<span class="cite-bracket">&#93;</span></a></sup>等嘅<a href="/wiki/%E8%87%AA%E7%84%B6%E7%A7%91%E5%AD%B8" title="自然科學">自然科學</a>上都會用到。除此之外,電腦模擬仲有俾人用落去<a href="/wiki/%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="社會科學">社會科學</a>上,例如用<a href="/wiki/%E5%8D%9A%E5%BC%88%E8%AB%96" title="博弈論">博弈論</a>模擬<a href="/wiki/%E7%A4%BE%E6%9C%83" title="社會">社會</a>(想像「如果社會當中有咁多咁多<a href="/wiki/%E7%99%BE%E5%88%86%E6%AF%94" class="mw-redirect" title="百分比">百分比</a>嘅人跟噉樣噉樣嘅法則做<a href="/wiki/%E6%B1%BA%E7%AD%96" title="決策">決策</a>,個<a href="/wiki/%E7%B6%93%E6%BF%9F%E9%AB%94" class="mw-redirect" title="經濟體">經濟體</a>會變成噉樣噉樣」)<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">&#91;</span>7<span class="cite-bracket">&#93;</span></a></sup>,而<a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a>都有用到電腦模擬,例如模擬「如果部<a href="/wiki/%E6%A9%9F%E6%A2%B0" title="機械">機械</a>用噉嘅設計,部機械嘅<a href="/wiki/%E6%A9%9F%E6%A2%B0%E6%95%88%E7%9B%8A" title="機械效益">效率</a>會係咁高咁高」<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">&#91;</span>8<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>以下嘅內容,假設讀者已經有齊嗮基本嘅<a href="/wiki/%E7%A8%8B%E5%BC%8F%E7%B7%A8%E5%AF%AB" class="mw-redirect" title="程式編寫">程式編寫</a>知識。 </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="哲學背景"><span id=".E5.93.B2.E5.AD.B8.E8.83.8C.E6.99.AF"></span>哲學背景</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=1" title="編輯小節: 哲學背景"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure typeof="mw:File/Thumb"><a href="/wiki/File:NewtonsLawOfUniversalGravitation.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/NewtonsLawOfUniversalGravitation.svg/300px-NewtonsLawOfUniversalGravitation.svg.png" decoding="async" width="300" height="188" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/0e/NewtonsLawOfUniversalGravitation.svg/450px-NewtonsLawOfUniversalGravitation.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/0e/NewtonsLawOfUniversalGravitation.svg/600px-NewtonsLawOfUniversalGravitation.svg.png 2x" data-file-width="400" data-file-height="250" /></a><figcaption><a href="/wiki/%E8%90%AC%E6%9C%89%E5%BC%95%E5%8A%9B%E5%AE%9A%E5%BE%8B" title="萬有引力定律">萬有引力定律</a>以科學理論嚟講查實好<a href="/wiki/%E7%B0%A1%E5%96%AE" title="簡單">簡單</a>,成條式得嗰 4 個<a href="/wiki/%E8%AE%8A%E6%95%B8_(%E7%A7%91%E7%A0%94)" title="變數 (科研)">變數</a><sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">&#91;</span>註 1<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">&#91;</span>9<span class="cite-bracket">&#93;</span></a></sup>-<br /> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F_{1}=F_{2}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <mo>=</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F_{1}=F_{2}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/4a1387d67417e45de53b554e8b775be7ad3cb236" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:8.196ex; height:2.509ex;" alt="{\displaystyle F_{1}=F_{2}}"></span> 係兩件嘢之間嘅引力嘅數值;<br /> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {{m}_{1}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi>m</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {{m}_{1}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/301180698bd2ab5dbf739c179292409445c5005c" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.095ex; height:2.009ex;" alt="{\displaystyle {{m}_{1}}}"></span> 係第一件嘢嘅<a href="/wiki/%E8%B3%AA%E9%87%8F" title="質量">質量</a>;單位係<a href="/wiki/%E5%85%AC%E6%96%A4" class="mw-redirect" title="公斤">公斤</a>(kg)<br /> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {{m}_{2}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi>m</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {{m}_{2}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/8bd08a1fe1bb494a015fcfc73471423b036665f1" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.095ex; height:2.009ex;" alt="{\displaystyle {{m}_{2}}}"></span> 係第二件嘢嘅質量;單位係公斤(kg)<br /> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>r</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle r}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0d1ecb613aa2984f0576f70f86650b7c2a132538" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.049ex; height:1.676ex;" alt="{\displaystyle r}"></span> 係兩件嘢之間嘅<a href="/wiki/%E8%B7%9D%E9%9B%A2" title="距離">距離</a>;單位係<a href="/wiki/%E7%B1%B3_(%E9%95%B7%E5%BA%A6)" class="mw-redirect" title="米 (長度)">米</a>(m)<br /> 所以要用腦諗「如果 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle r}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>r</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle r}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0d1ecb613aa2984f0576f70f86650b7c2a132538" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.049ex; height:1.676ex;" alt="{\displaystyle r}"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {{m}_{1}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi>m</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {{m}_{1}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/301180698bd2ab5dbf739c179292409445c5005c" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.095ex; height:2.009ex;" alt="{\displaystyle {{m}_{1}}}"></span> 同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {{m}_{2}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi>m</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {{m}_{2}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/8bd08a1fe1bb494a015fcfc73471423b036665f1" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.095ex; height:2.009ex;" alt="{\displaystyle {{m}_{2}}}"></span> 係咁多咁多,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F_{1}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F_{1}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/100c7fbf174fe8b06eacc2a6b0bb2e1badd1c7ce" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.549ex; height:2.509ex;" alt="{\displaystyle F_{1}}"></span> 會係幾多」並唔難。但唔係個個科學理論都咁簡單。</figcaption></figure> <div role="note" class="hatnote">内文:<a href="/wiki/%E7%A7%91%E5%AD%B8%E6%96%B9%E6%B3%95" title="科學方法">科學方法</a>、<a href="/wiki/%E7%A7%91%E5%AD%B8%E7%90%86%E8%AB%96" title="科學理論">科學理論</a>、<a href="/wiki/%E6%95%B8%E5%AD%B8%E6%A8%A1%E5%9E%8B" title="數學模型">數學模型</a>同<a href="/wiki/%E6%A8%A1%E6%93%AC" title="模擬">模擬</a></div> <p>電腦模擬係廿一世紀初嘅一種<a href="/wiki/%E7%A7%91%E7%A0%94" class="mw-redirect" title="科研">科研</a>方法。<a href="/wiki/%E7%A7%91%E5%AD%B8" title="科學">科學</a>係用<a href="/wiki/%E7%A7%91%E5%AD%B8%E6%96%B9%E6%B3%95" title="科學方法">科學方法</a><sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">&#91;</span>e 1<span class="cite-bracket">&#93;</span></a></sup>嚟追求<a href="/wiki/%E7%9F%A5%E8%AD%98" title="知識">知識</a>,而科學方法涉及以下嘅步驟<sup id="cite_ref-12" class="reference"><a href="#cite_note-12"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup>: </p> <ol><li>根據手上已知係真嘅<a href="/wiki/%E4%BA%8B%E5%AF%A6" title="事實">事實</a>,諗一啲<a href="/wiki/%E7%A7%91%E5%AD%B8%E7%90%86%E8%AB%96" title="科學理論">理論</a>出嚟(「基於我哋經已觀察到嘅呢啲現象,我推測啲現象背後嘅法則係噉噉噉,令呢種現象出現」),而為求精確,呢啲理論通常都想係用<a href="/wiki/%E6%95%B8%E5%AD%B8%E6%A8%A1%E5%9E%8B" title="數學模型">數學模型</a>嘅方式表達嘅;</li> <li>跟手就靠<a href="/wiki/%E9%82%8F%E8%BC%AF" title="邏輯">邏輯</a>嘅思考,去諗吓呢柞理論會做點樣嘅<b>預測</b>(「如果我提倡嘅呢個理論係真確嘅,理應會...」);</li> <li>然後就做<a href="/wiki/%E5%AF%A6%E9%A9%97" title="實驗">實驗</a>同<a href="/wiki/%E8%A7%80%E5%AF%9F" title="觀察">觀察</a>嚟攞<a href="/wiki/%E6%95%B8%E6%93%9A" title="數據">數據</a>,驗證吓個理論嘅預測係咪真確(「如果我呢個理論係真確,呢個實驗理應會得出某個某個結果,而個實際嘅實驗結果係...」);</li> <li>如果數據顯示,個理論係做唔到準確嘅預測嘅話,就要一係根據攞到嘅數據睇吓個理論要點改先可以令佢做到準確啲嘅預測,一係就要諗新理論取代舊理論<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">&#91;</span>11<span class="cite-bracket">&#93;</span></a></sup>。</li></ol> <p>用電腦模擬做科研想要做嘅就係幫手<b>預測<a href="/wiki/%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1" title="複雜系統">複雜系統</a>嘅行為</b>:原則上,「一個理論會作出乜嘢預測」呢一點可以由個研究者齋靠諗嚟做得到,例子可以睇吓好似基本<a href="/wiki/%E7%89%9B%E9%A0%93%E5%8A%9B%E5%AD%B8" class="mw-redirect" title="牛頓力學">牛頓力學</a>入面嗰啲相對<a href="/wiki/%E7%B0%A1%E5%96%AE" title="簡單">簡單</a>嘅<a href="/wiki/%E7%89%A9%E7%90%86%E5%AE%9A%E5%BE%8B" title="物理定律">物理定律</a>-呢啲定律吓吓都係一條式得嗰幾個<a href="/wiki/%E8%AE%8A%E6%95%B8_(%E7%A7%91%E7%A0%94)" title="變數 (科研)">變數</a>,研究者可以輕易噉用人手計出「根據呢條定律,如果變數 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/87f9e315fd7e2ba406057a97300593c4802b53e4" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}"></span> 嘅數值係咁多咁多,變數 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span> 嘅數值應該會係咁多咁多」。不過當研究緊嗰樣現象有返咁上下<a href="/wiki/%E8%A4%87%E9%9B%9C" title="複雜">複雜</a>嗰陣,「齋靠個研究者用<a href="/wiki/%E4%BA%BA%E8%85%A6" title="人腦">腦</a>諗」好多時就會難令人信服<sup id="cite_ref-mcclelland2009_14-0" class="reference"><a href="#cite_note-mcclelland2009-14"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup><sup class="reference" style="white-space:nowrap;">:p. 6</sup>,例如係<a href="/wiki/%E7%BE%A4%E5%8B%95" title="群動">群動</a>噉,好難說服人話「齋靠研究者用腦諗,就會準確計到群動三定律會出點嘅樣嘅移動」。於是研究者就將自己個理論(用數學模型嘅方式表示)<a href="/wiki/%E7%B7%A8%E7%A8%8B" class="mw-redirect" title="編程">編寫</a>成一個<a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A8%8B%E5%BC%8F" title="電腦程式">電腦程式</a>,然後再行呢個程式,睇吓個程式會引致乜嘢結果-呢啲結果就會係佢個理論會作出嘅預測<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">&#91;</span>13<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-winsberg2003_16-0" class="reference"><a href="#cite_note-winsberg2003-16"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>電腦模擬係喺廿世紀嗰陣同<a href="/wiki/%E9%9B%BB%E8%85%A6" title="電腦">電腦</a>一齊冒起嘅:<a href="/wiki/%E7%A7%91%E5%AD%B8%E7%A0%94%E7%A9%B6" class="mw-redirect" title="科學研究">科學研究</a>呢家嘢喺<a href="/wiki/%E4%B8%AD%E4%B8%96%E7%B4%80" title="中世紀">中世紀</a>經已有,當時要計數淨係有得用人手計,而好似<a href="/wiki/%E8%90%AC%E6%9C%89%E5%BC%95%E5%8A%9B%E5%AE%9A%E5%BE%8B" title="萬有引力定律">萬有引力定律</a>等相對簡單嘅科學理論(條式通常得嗰 3 到 4 個變數)要用人手計並唔難,但一研究好似係<a href="/wiki/%E7%BE%A4%E5%8B%95" title="群動">群動</a>呢啲涉及閒閒地幾廿個個體隨時間分別噉變化嘅現象,用人手計就會好撈絞;不過廿世紀初出咗一樣好重要嘅發明-電腦,電腦係<a href="/wiki/%E9%81%8B%E7%AE%97%E6%A9%9F%E6%A2%B0" class="mw-redirect" title="運算機械">運算機械</a>,即係能夠用快過人手好多嘅速度做大量嘅<a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>,所以電腦嘅出現令到人類能夠計一啲以前計唔到嘅<a href="/wiki/%E6%95%B8%E5%AD%B8%E6%A8%A1%E5%9E%8B" title="數學模型">數學模型</a>,引起咗<a href="/wiki/%E7%A7%91%E5%AD%B8%E5%AE%B6" title="科學家">科學家</a>用電腦模擬嚟做科研。到咗廿一世紀初,電腦模擬經已成為咗科研一個不可或缺嘅部份<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">&#91;</span>15<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading2"><h2 id="基本程式"><span id=".E5.9F.BA.E6.9C.AC.E7.A8.8B.E5.BC.8F"></span>基本程式</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=2" title="編輯小節: 基本程式"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">睇埋:<a href="/wiki/%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" title="電腦圖像">電腦圖像</a>同<a href="/wiki/%E7%A7%91%E5%AD%B8%E8%A6%96%E8%A6%BA%E5%8C%96" title="科學視覺化">科學視覺化</a></div> <p>喺最基本上,一個做電腦模擬嘅程式(或者最少係做<a href="/wiki/%E5%8B%95%E6%85%8B%E6%A8%A1%E6%93%AC" title="動態模擬">動態模擬</a>嘅程式)可以想像成以下噉嘅<a href="/wiki/%E8%99%9B%E6%93%AC%E7%A2%BC" title="虛擬碼">虛擬碼</a><sup id="cite_ref-basicode_2-1" class="reference"><a href="#cite_note-basicode-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup>: </p> <pre> <a href="/wiki/%E5%88%9D%E5%A7%8B%E5%8C%96" title="初始化">初始化</a>(講明個模型有乜<a href="/wiki/%E8%AE%8A%E6%95%B8_(%E7%B7%A8%E7%A8%8B)" title="變數 (編程)">變數</a>,想像其中一個變數叫「<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span>」); 設 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span>(時間)= 0; <a href="/wiki/While_%E8%BF%B4%E5%9C%88" title="While 迴圈">While</a> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 未到某個值, 按個理論嘅數學模型,計吓個現象跟住會變成點(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y=f(t)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> <mo>=</mo> <mi>f</mi> <mo stretchy="false">(</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y=f(t)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/dcb3a22359174d9da835b238b25e2f89ce1cd2ce" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:8.181ex; height:2.843ex;" alt="{\displaystyle y=f(t)}"></span>);<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle f}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>f</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle f}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/132e57acb643253e7810ee9702d9581f159a1c61" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.279ex; height:2.509ex;" alt="{\displaystyle f}"></span> 係一個<a href="/wiki/%E5%87%BD%E6%95%B8" title="函數">函數</a>。 <a href="/wiki/%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" title="電腦圖像">顯示</a>出個現象變成咗點嘅樣; <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 上升 1;<sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">&#91;</span>註 2<span class="cite-bracket">&#93;</span></a></sup> </pre> <p>呢個過程會俾研究者視覺化噉睇到「如果嗰個數學模型成立,噉會見到啲乜嘢現象」呢一樣<a href="/wiki/%E8%B3%87%E8%A8%8A" title="資訊">資訊</a><sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">&#91;</span>註 3<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-winsberg2003_16-1" class="reference"><a href="#cite_note-winsberg2003-16"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup>。除此之外,一個電腦模擬仲可以將模擬途中嘅<a href="/wiki/%E6%95%B8%E6%93%9A" title="數據">數據</a>記低,例如記住「變數 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span> 喺每個時間點嘅數值」(即係好似下面段碼噉),跟手再將呢啲數據畫成<a href="/wiki/%E7%B5%B1%E8%A8%88%E5%9C%96" title="統計圖">圖表</a>,即係例如 <a href="/wiki/Y_%E8%BB%B8" class="mw-redirect" title="Y 軸">Y 軸</a>表示變數 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span> 嘅數值,<a href="/wiki/X_%E8%BB%B8" class="mw-redirect" title="X 軸">X 軸</a>表示時間,畫一條<a href="/wiki/%E7%B6%AB_(%E5%B9%BE%E4%BD%95)" title="綫 (幾何)">線</a>出嚟<sup id="cite_ref-strogatz2007_1-1" class="reference"><a href="#cite_note-strogatz2007-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="n">t</span><span class="o">=</span><span class="mi">0</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span> <span class="n">t</span><span class="o">=</span><span class="mi">1</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span> <span class="n">t</span><span class="o">=</span><span class="mi">2</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">10</span> <span class="n">t</span><span class="o">=</span><span class="mi">3</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">30</span> <span class="n">t</span><span class="o">=</span><span class="mi">4</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">60</span> <span class="n">t</span><span class="o">=</span><span class="mi">5</span><span class="o">:</span><span class="w"> </span><span class="n">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">100</span> <span class="p">...</span> </pre></div> <div style="clear: both;"></div> <figure class="mw-halign-center" typeof="mw:File/Thumb"><a href="/wiki/File:TRUE_Procedural_Animation.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/e/e7/TRUE_Procedural_Animation.gif" decoding="async" width="480" height="260" class="mw-file-element" data-file-width="480" data-file-height="260" /></a><figcaption>呢幅圖顯示用<a href="/wiki/%E5%8B%95%E6%85%8B%E6%A8%A1%E6%93%AC" title="動態模擬">動態模擬</a>模擬部<a href="/wiki/%E6%A9%9F%E6%A2%B0" title="機械">機械</a>嘅郁動-「<a href="/wiki/%E6%B4%BB%E5%A1%9E" title="活塞">活塞</a>嘅位置」(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{1}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{1}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a8788bf85d532fa88d1fb25eff6ae382a601c308" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.384ex; height:2.009ex;" alt="{\displaystyle x_{1}}"></span>)會隨時間變化,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{1}=f(t)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <mo>=</mo> <mi>f</mi> <mo stretchy="false">(</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{1}=f(t)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/7e7ac17f7ad40d2acd962dede45ab8cf2ccbf0a5" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:9.41ex; height:2.843ex;" alt="{\displaystyle x_{1}=f(t)}"></span>,而個<a href="/wiki/%E8%BD%86" title="轆">轆</a>嘅轉動(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{2}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{2}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/d7af1b928f06e4c7e3e8ebfd60704656719bd766" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.384ex; height:2.009ex;" alt="{\displaystyle x_{2}}"></span>)係由 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{1}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{1}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a8788bf85d532fa88d1fb25eff6ae382a601c308" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.384ex; height:2.009ex;" alt="{\displaystyle x_{1}}"></span> 帶動嘅,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{2}=f(x_{1})}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> <mo>=</mo> <mi>f</mi> <mo stretchy="false">(</mo> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{2}=f(x_{1})}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/190f57ce20bf29ab600a72dbd4795a7a4e09ff52" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:10.954ex; height:2.843ex;" alt="{\displaystyle x_{2}=f(x_{1})}"></span>,所以隨住 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 數值上升,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{1}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{1}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a8788bf85d532fa88d1fb25eff6ae382a601c308" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.384ex; height:2.009ex;" alt="{\displaystyle x_{1}}"></span> 同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x_{2}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>x</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x_{2}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/d7af1b928f06e4c7e3e8ebfd60704656719bd766" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.384ex; height:2.009ex;" alt="{\displaystyle x_{2}}"></span> 等嘅變數嘅數值會跟住變化。</figcaption></figure> <div class="mw-heading mw-heading2"><h2 id="主要分類"><span id=".E4.B8.BB.E8.A6.81.E5.88.86.E9.A1.9E"></span>主要分類</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=3" title="編輯小節: 主要分類"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>電腦模擬可以按多種準則分類,包括咗係<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">&#91;</span>註 4<span class="cite-bracket">&#93;</span></a></sup>: </p> <div class="mw-heading mw-heading3"><h3 id="有冇隨機性"><span id=".E6.9C.89.E5.86.87.E9.9A.A8.E6.A9.9F.E6.80.A7"></span>有冇隨機性</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=4" title="編輯小節: 有冇隨機性"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure typeof="mw:File/Thumb"><a href="/wiki/File:Pi_30K.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/84/Pi_30K.gif/300px-Pi_30K.gif" decoding="async" width="300" height="300" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/84/Pi_30K.gif/450px-Pi_30K.gif 1.5x, //upload.wikimedia.org/wikipedia/commons/8/84/Pi_30K.gif 2x" data-file-width="500" data-file-height="500" /></a><figcaption>用蒙地卡羅方法估計 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03C0;<!-- π --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \pi }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9be4ba0bb8df3af72e90a0535fabcc17431e540a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }"></span> 數值嘅圖解;圖上高嘅字顯示計出嚟個 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03C0;<!-- π --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \pi }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9be4ba0bb8df3af72e90a0535fabcc17431e540a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }"></span> 數值同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 之間嘅關係-<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 愈大,計到出嚟嘅 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03C0;<!-- π --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \pi }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9be4ba0bb8df3af72e90a0535fabcc17431e540a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }"></span> 就愈近真嘅圓周率。</figcaption></figure> <div role="note" class="hatnote">内文:<a href="/wiki/%E9%9A%A8%E6%A9%9F%E6%95%B8%E7%94%9F%E6%88%90" title="隨機數生成">隨機數生成</a>同<a href="/wiki/%E8%92%99%E5%9C%B0%E5%8D%A1%E7%BE%85%E6%96%B9%E6%B3%95" title="蒙地卡羅方法">蒙地卡羅方法</a></div> <p><a href="/wiki/%E9%9A%A8%E6%A9%9F%E7%B3%BB%E7%B5%B1" class="mw-redirect" title="隨機系統">隨機</a><sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">&#91;</span>e 2<span class="cite-bracket">&#93;</span></a></sup>定<a href="/wiki/%E6%B1%BA%E5%AE%9A%E6%80%A7%E7%B3%BB%E7%B5%B1" class="mw-redirect" title="決定性系統">決定</a><sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">&#91;</span>e 3<span class="cite-bracket">&#93;</span></a></sup>-前者指有<a href="/wiki/%E9%9A%A8%E6%A9%9F" title="隨機">隨機</a>喺入面嘅電腦模擬,例如個程式其中一行碼係 <code>rand(1,10);</code>(<a href="/wiki/%E9%9A%A8%E6%A9%9F%E6%95%B8%E7%94%9F%E6%88%90" title="隨機數生成">隨機噉產生</a>一個數值响 1 同 10 之間嘅數值),將模擬緊嗰個現象想像成有隨機喺入面,而後者就指冇呢啲隨機嘅電腦模擬<sup id="cite_ref-23" class="reference"><a href="#cite_note-23"><span class="cite-bracket">&#91;</span>16<span class="cite-bracket">&#93;</span></a></sup>。 </p><p><a href="/wiki/%E8%92%99%E5%9C%B0%E5%8D%A1%E7%BE%85%E6%96%B9%E6%B3%95" title="蒙地卡羅方法">蒙地卡羅方法</a><sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">&#91;</span>e 4<span class="cite-bracket">&#93;</span></a></sup>係一種出名嘅隨機模擬做法。蒙地卡羅方法係用隨機嘅做法應付<a href="/wiki/%E6%B1%BA%E5%AE%9A%E6%80%A7%E7%B3%BB%E7%B5%B1" class="mw-redirect" title="決定性系統">決定性系統</a>嘅<a href="/wiki/%E6%BC%94%E7%AE%97%E6%B3%95" title="演算法">演算法</a>,源於 1940 年代:如果話一個<a href="/wiki/%E7%B3%BB%E7%B5%B1" title="系統">系統</a>係「<a href="/wiki/%E6%B1%BA%E5%AE%9A%E6%80%A7" class="mw-redirect" title="決定性">決定咗</a>」嘅,意思係指個系統冇隨機喺裏面<sup id="cite_ref-kroese2014_25-0" class="reference"><a href="#cite_note-kroese2014-25"><span class="cite-bracket">&#91;</span>17<span class="cite-bracket">&#93;</span></a></sup>。蒙地卡羅方法最基本嘅流程如下<sup id="cite_ref-kalos2008_26-0" class="reference"><a href="#cite_note-kalos2008-26"><span class="cite-bracket">&#91;</span>18<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-27" class="reference"><a href="#cite_note-27"><span class="cite-bracket">&#91;</span>19<span class="cite-bracket">&#93;</span></a></sup>: </p> <ol><li><a href="/wiki/%E5%AE%9A%E7%BE%A9" title="定義">定義</a>個系統嘅<a href="/wiki/Input" class="mw-redirect" title="Input">輸入</a>嘅可能數值(<a href="/wiki/%E5%AE%9A%E7%BE%A9%E5%9F%9F" title="定義域">定義域</a><sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">&#91;</span>e 5<span class="cite-bracket">&#93;</span></a></sup>);</li> <li>用一個表示輸入數值、受定義域限制嘅<a href="/wiki/%E6%A6%82%E7%8E%87%E5%88%86%E4%BD%88" title="概率分佈">概率分佈</a><sup id="cite_ref-29" class="reference"><a href="#cite_note-29"><span class="cite-bracket">&#91;</span>e 6<span class="cite-bracket">&#93;</span></a></sup>隨機噉產生一個輸入;</li> <li>對個輸入做決定性嘅<a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>;</li> <li>將步驟 2 同 3 重複 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 咁多次,得到 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 個<a href="/wiki/Output" class="mw-redirect" title="Output">輸出</a>,再<a href="/wiki/%E7%B5%90%E5%90%88%E6%95%B8%E6%93%9A" title="結合數據">結合數據</a><sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">&#91;</span>e 7<span class="cite-bracket">&#93;</span></a></sup>-例如計嗰 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 個輸出嘅<a href="/wiki/%E5%B9%B3%E5%9D%87%E5%80%BC" title="平均值">平均值</a>。</li></ol> <p>舉個簡單例子說明,蒙地卡羅方法可以用嚟估計<a href="/wiki/%E5%9C%93%E5%91%A8%E7%8E%87" title="圓周率">圓周率</a>(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \pi }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03C0;<!-- π --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \pi }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9be4ba0bb8df3af72e90a0535fabcc17431e540a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.332ex; height:1.676ex;" alt="{\displaystyle \pi }"></span>)嘅數值(睇附圖)<sup id="cite_ref-kalos2008_26-1" class="reference"><a href="#cite_note-kalos2008-26"><span class="cite-bracket">&#91;</span>18<span class="cite-bracket">&#93;</span></a></sup>: </p> <ol><li>畫一個<a href="/wiki/%E6%AD%A3%E6%96%B9%E5%BD%A2" title="正方形">正方形</a>,再喺個正方形入面畫個 90° 嘅<a href="/wiki/%E6%89%87%E5%BD%A2" title="扇形">扇形</a>,任何嘅輸入<a href="/wiki/%E5%9D%90%E6%A8%99" title="坐標">坐標</a> <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle (x,y)}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mo stretchy="false">(</mo> <mi>x</mi> <mo>,</mo> <mi>y</mi> <mo stretchy="false">)</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle (x,y)}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/41cf50e4a314ca8e2c30964baa8d26e5be7a9386" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:5.328ex; height:2.843ex;" alt="{\displaystyle (x,y)}"></span> 都實會喺個正方形裏面(定義域);</li> <li>用一個<a href="/wiki/%E5%9D%87%E5%8B%BB%E5%88%86%E4%BD%88" title="均勻分佈">均勻分佈</a><sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">&#91;</span>e 8<span class="cite-bracket">&#93;</span></a></sup>產生一個輸入坐標數值,「均勻分佈」意思係指每個坐標可能數值出現嘅<a href="/wiki/%E6%A9%9F%E6%9C%83%E7%8E%87" class="mw-redirect" title="機會率">機會率</a>都完全一樣;</li> <li>喺產生咗出嚟輸入坐標數值嘅位置嗰度畫一點(做運算);</li> <li>將步驟 2 同 3 重複 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 咁多次,然後數吓有幾多點點係喺個扇形裏面(同<a href="/wiki/%E5%8E%9F%E9%BB%9E" title="原點">原點</a>距離細過 1)嘅,設呢個數值做 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle m}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>m</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle m}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0a07d98bb302f3856cbabc47b2b9016692e3f7bc" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:2.04ex; height:1.676ex;" alt="{\displaystyle m}"></span>,如果 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 嘅數值大到<a href="/wiki/%E6%A5%B5%E9%99%90_(%E6%95%B8%E5%AD%B8)" title="極限 (數學)">接近</a><a href="/wiki/%E7%84%A1%E9%99%90%E5%A4%A7" class="mw-redirect" title="無限大">無限大</a>嘅話,以下呢樣嘢會成立: <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\frac {m}{n}}={\frac {\pi }{4}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mi>m</mi> <mi>n</mi> </mfrac> </mrow> <mo>=</mo> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mi>&#x03C0;<!-- π --></mi> <mn>4</mn> </mfrac> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\frac {m}{n}}={\frac {\pi }{4}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/76cb836d07e6eb065611f75f77033c808e553f29" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.838ex; width:8.143ex; height:4.676ex;" alt="{\displaystyle {\frac {m}{n}}={\frac {\pi }{4}}}"></span></dd></dl></li></ol> <p>好似蒙地卡羅方法噉嘅隨機模擬帶出咗個諗頭:無論個系統係咪決定性嘅都好,用帶有隨機嘅方法<b>都有可能俾得到有返咁上下準嘅答案</b>-「有返咁上下準」意思係指,得出嘅答案同真實嘅答案差距唔係咁大,未至於大到能夠對解決問題嘅<a href="/wiki/%E6%95%88%E7%8E%87" title="效率">效率</a>造成明顯嘅負面影響。而事實表明咗,就算一個系統事實上冇隨機,好似蒙地卡羅方法噉嘅隨機模擬好多時都好使好用,例子可以睇吓<a href="/wiki/%E8%92%99%E5%9C%B0%E5%8D%A1%E7%BE%85%E6%A8%B9%E6%90%9C%E5%B0%8B" title="蒙地卡羅樹搜尋">蒙地卡羅樹搜尋</a>相關嘅嘢<sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">&#91;</span>20<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-33" class="reference"><a href="#cite_note-33"><span class="cite-bracket">&#91;</span>21<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading3"><h3 id="方程定個體"><span id=".E6.96.B9.E7.A8.8B.E5.AE.9A.E5.80.8B.E9.AB.94"></span>方程定個體</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=5" title="編輯小節: 方程定個體"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E6%96%B9%E7%A8%8B%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" class="mw-redirect" title="方程為本模型">方程為本模型</a>同<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本模型</a></div> <div role="note" class="hatnote">睇埋:<a href="/wiki/%E7%89%A9%E4%BB%B6%E5%B0%8E%E5%90%91%E7%B7%A8%E7%A8%8B" title="物件導向編程">物件導向編程</a></div> <p>電腦模擬仲可以分做<a href="/wiki/%E6%96%B9%E7%A8%8B%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" class="mw-redirect" title="方程為本模型">方程為本</a><sup id="cite_ref-34" class="reference"><a href="#cite_note-34"><span class="cite-bracket">&#91;</span>e 9<span class="cite-bracket">&#93;</span></a></sup>同<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本</a><sup id="cite_ref-35" class="reference"><a href="#cite_note-35"><span class="cite-bracket">&#91;</span>e 10<span class="cite-bracket">&#93;</span></a></sup>兩大種:方程為本模型常用於<a href="/wiki/%E7%89%A9%E7%90%86%E5%AD%B8" title="物理學">物理學</a>同<a href="/wiki/%E5%8C%96%E5%AD%B8" title="化學">化學</a>等嘅<a href="/wiki/%E7%89%A9%E7%90%86%E7%A7%91%E5%AD%B8" title="物理科學">物理科學</a>,指成個模型靠住一大柞嘅<a href="/wiki/%E6%96%B9%E7%A8%8B%E5%BC%8F" title="方程式">方程式</a>-好多時會係<a href="/wiki/%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="微分方程">微分方程</a>-嚟表達啲變數之間嘅啦掕,呢啲方程式當中通常會係涉及<a href="/wiki/%E6%99%82%E9%96%93" title="時間">時間</a>(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span>),所以隨住時間演進(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 數值由 0 開始上升),個模型會係噉計算個系統嘅各變數响時間點每一刻數值會係幾多。例如以下呢段用 <a href="/wiki/C_%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" class="mw-redirect" title="C 程式語言">C 程式語言</a>寫嘅<a href="/wiki/%E6%BA%90%E7%A2%BC" class="mw-redirect" title="源碼">源碼</a>可以攞嚟模擬喺<a href="/wiki/%E7%89%9B%E9%A0%93%E7%AC%AC%E4%BA%8C%E5%AE%9A%E5%BE%8B" title="牛頓第二定律">牛頓第二定律</a>之下<a href="/wiki/%E9%83%81%E5%8B%95" class="mw-redirect" title="郁動">郁動</a>嘅<a href="/wiki/%E7%89%A9%E9%AB%94" title="物體">物體</a><sup id="cite_ref-gaffer_36-0" class="reference"><a href="#cite_note-gaffer-36"><span class="cite-bracket">&#91;</span>22<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-37" class="reference"><a href="#cite_note-37"><span class="cite-bracket">&#91;</span>註 5<span class="cite-bracket">&#93;</span></a></sup>: </p> <div style="clear: both;"></div> <div class="mw-highlight mw-highlight-lang-cpp mw-content-ltr" dir="ltr"><pre><span></span><span class="kt">double</span><span class="w"> </span><span class="n">t</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">0.0</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">dt</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">1.0f</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">velocity</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">0.0f</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">position</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">0.0f</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">force</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">10.0f</span><span class="p">;</span> <span class="kt">float</span><span class="w"> </span><span class="n">mass</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">1.0f</span><span class="p">;</span> <span class="c1">// 設一大柞變數,包括咗時間點(t)、時間間隔(dt)、速度(velocity)、位置(position)、件物體受嘅力(force)、同件物體嘅質量(mass)。</span> <span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="n">t</span><span class="w"> </span><span class="o">&lt;=</span><span class="w"> </span><span class="mf">10.0</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="c1">// 重複噉計若干次,計到時間點係 10 為止。</span> <span class="p">{</span> <span class="w"> </span><span class="n">position</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">position</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">velocity</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span> <span class="w"> </span><span class="n">velocity</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">velocity</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="n">force</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">mass</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// 用牛頓第二定律計吓件物體受嘅力同佢嘅質量會點影響佢嘅速度。</span> <span class="w"> </span><span class="n">t</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span> <span class="p">}</span> </pre></div> <p>相比之下,個體為本模型涉及模擬一大柞嘅個體-個體為本模型比較常用於<a href="/wiki/%E7%94%9F%E7%89%A9%E5%AD%B8" title="生物學">生物學</a>同<a href="/wiki/%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="社會科學">社會科學</a>,因為呢啲領域研究嘅現象往往都涉及一大柞個體(<a href="/wiki/%E4%BA%BA" title="人">人</a>或者第啲<a href="/wiki/%E7%94%9F%E7%89%A9" title="生物">生物</a>)喺度個別噉做<a href="/wiki/%E6%B1%BA%E7%AD%96" title="決策">決策</a><sup id="cite_ref-38" class="reference"><a href="#cite_note-38"><span class="cite-bracket">&#91;</span>23<span class="cite-bracket">&#93;</span></a></sup>。基本上,行個體為本模型嘅程式做嘅嘢可以用以下呢幾個步驟總括<sup id="cite_ref-39" class="reference"><a href="#cite_note-39"><span class="cite-bracket">&#91;</span>24<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-40" class="reference"><a href="#cite_note-40"><span class="cite-bracket">&#91;</span>25<span class="cite-bracket">&#93;</span></a></sup>: </p> <ol><li><a href="/wiki/%E5%88%9D%E5%A7%8B%E5%8C%96" title="初始化">初始化</a>,建構 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 個(<a href="/wiki/%E9%9B%A2%E6%95%A3%E8%AE%8A%E6%95%B8" class="mw-redirect" title="離散變數">離散</a>嘅)個體(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 通常閒閒地係幾百),每一個個體都掕住一啲數值表示佢嘅個體特性<sup id="cite_ref-41" class="reference"><a href="#cite_note-41"><span class="cite-bracket">&#91;</span>註 6<span class="cite-bracket">&#93;</span></a></sup>(睇<a href="/wiki/%E7%89%A9%E4%BB%B6%E5%B0%8E%E5%90%91%E7%B7%A8%E7%A8%8B" title="物件導向編程">物件導向編程</a>);</li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 設做 0;</li> <li>喺呢個時間點 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span>,<a href="/wiki/Foreach" class="mw-redirect" title="Foreach">foreach</a> 個體,按呢個個體嘅行動法則同埋特性,計佢跟住落嚟嘅狀態會點變;</li> <li>如果個模型涉及一啲整體嘅變數,按啲個體嘅新狀態嚟計呢啲整體變數嘅新數值;</li> <li><code>t = t + 1</code>(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 數值上升 1);</li> <li>一路係噉重複步驟 3 至 5,直至結束條件達到為止。</li></ol> <p>上面提咗嘅<a href="/wiki/%E7%BE%A4%E5%8B%95" title="群動">群動</a>就係個體為本模型嘅例子。 </p> <div style="clear: both;"></div> <figure class="mw-halign-center" typeof="mw:File/Thumb"><a href="/wiki/File:Swarming.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Swarming.jpg/480px-Swarming.jpg" decoding="async" width="480" height="320" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/74/Swarming.jpg/720px-Swarming.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/74/Swarming.jpg/960px-Swarming.jpg 2x" data-file-width="5134" data-file-height="3421" /></a><figcaption>一大群<a href="/wiki/%E8%9C%9C%E8%9C%82" title="蜜蜂">蜜蜂</a>;每隻蜜蜂都會按自己嘅行動法則行事,但佢哋個別行事可以<a href="/wiki/%E7%BE%A4%E9%AB%94%E6%99%BA%E8%83%BD" title="群體智能">令成個蜜蜂羣喺整體上產生一啲特別嘅規律</a>。</figcaption></figure> <div class="mw-heading mw-heading3"><h3 id="第啲分類"><span id=".E7.AC.AC.E5.95.B2.E5.88.86.E9.A1.9E"></span>第啲分類</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=6" title="編輯小節: 第啲分類"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>除咗以上嘅分類法之外,電腦模擬仲可以按以下呢啲特性嚟分: </p> <ul><li><a href="/wiki/%E9%9B%A2%E6%95%A3%E4%BA%8B%E4%BB%B6%E6%A8%A1%E6%93%AC" title="離散事件模擬">離散事件模擬</a><sup id="cite_ref-42" class="reference"><a href="#cite_note-42"><span class="cite-bracket">&#91;</span>e 11<span class="cite-bracket">&#93;</span></a></sup>:指將模擬緊嗰個系統想像成喺<a href="/wiki/%E9%9B%A2%E6%95%A3%E6%99%82%E9%96%93" class="mw-redirect" title="離散時間">離散時間</a>(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t_{1},t_{2},t_{3},...}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <mo>,</mo> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> <mo>,</mo> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>3</mn> </mrow> </msub> <mo>,</mo> <mo>.</mo> <mo>.</mo> <mo>.</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t_{1},t_{2},t_{3},...}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/83b02f247752d8a8be2dd2921963ddc4790d70e2" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:11.498ex; height:2.343ex;" alt="{\displaystyle t_{1},t_{2},t_{3},...}"></span>)當中存在嘅一連串事件;每件事件都會喺某個時間點發生,並且引起個系統嘅狀態 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \mathbf {s} }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="bold">s</mi> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \mathbf {s} }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/644ae690160e658898a141e568a7fb0ee6040004" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.056ex; height:1.676ex;" alt="{\displaystyle \mathbf {s} }"></span> 變化(某啲<a href="/wiki/%E8%AE%8A%E6%95%B8_(%E7%A7%91%E7%A0%94)" title="變數 (科研)">變數</a>嘅數值變),而且呢啲模型通常都假設咗個系統喺事件之間嘅時間內唔會起乜嘢變化<sup id="cite_ref-43" class="reference"><a href="#cite_note-43"><span class="cite-bracket">&#91;</span>註 7<span class="cite-bracket">&#93;</span></a></sup>。<a href="/wiki/%E5%A4%A7%E8%87%AA%E7%84%B6" class="mw-redirect" title="大自然">大自然</a>當中嘅系統好少可會話「冇事件發生就企喺度唔郁」,不過離散事件模擬喺<a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a>同<a href="/wiki/%E5%95%86%E5%AD%B8" title="商學">商學</a>就頗為常用-呢啲領域成日都會分析一啲人造嘅系統,例如係用離散事件模擬一間<a href="/wiki/%E9%8A%80%E8%A1%8C" title="銀行">銀行</a>嘅變化,當中會影響間銀行嘅狀態嘅事件包括「客人 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{A}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mtext>A</mtext> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{A}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9a3d98083f2be1ce5c681190df371d29455c2d31" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.743ex; height:2.176ex;" alt="{\displaystyle {\text{A}}}"></span> 出現」同「客人 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{B}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mtext>B</mtext> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{B}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/37cc047f094c36c6d6e6f5dbf1700583b6f66938" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.646ex; height:2.176ex;" alt="{\displaystyle {\text{B}}}"></span> 出現」呀噉<sup id="cite_ref-44" class="reference"><a href="#cite_note-44"><span class="cite-bracket">&#91;</span>26<span class="cite-bracket">&#93;</span></a></sup>。</li> <li><a href="/wiki/%E5%A4%9A%E9%87%8D%E8%A6%8F%E6%A8%A1%E6%A8%A1%E5%9E%8B" title="多重規模模型">多重規模模型</a><sup id="cite_ref-45" class="reference"><a href="#cite_note-45"><span class="cite-bracket">&#91;</span>e 12<span class="cite-bracket">&#93;</span></a></sup>:指個模型會同時模擬多過一個層面嘅現象;如果話一個模型有「多層」,即係例如每層都會有一柞變數,而每層嘅變數都會係由下層嗰啲變數結合而成, <ul><li><a href="/wiki/%E7%86%B1%E5%8A%9B%E5%AD%B8" title="熱力學">熱力學</a>例子:一嚿物體嘅<a href="/wiki/%E6%BA%AB%E5%BA%A6" title="溫度">溫度</a>(高層變數)取決於嚿嘢內部嘅<a href="/wiki/%E7%B2%92%E5%AD%90" title="粒子">粒子</a>嘅郁動(下層啲個體嘅變數);</li> <li><a href="/wiki/%E9%80%B2%E5%8C%96%E8%AB%96" class="mw-redirect" title="進化論">進化論</a>例子:一個<a href="/wiki/%E7%89%A9%E7%A8%AE" title="物種">物種</a><a href="/wiki/%E7%B5%95%E7%A8%AE" title="絕種">絕種</a>嘅<a href="/wiki/%E6%A9%9F%E6%9C%83%E7%8E%87" class="mw-redirect" title="機會率">機會率</a>(高層變數)取決於個物種啲個體嘅<a href="/wiki/%E7%B9%81%E6%AE%96" class="mw-redirect" title="繁殖">繁殖</a>能力(下層啲個體嘅變數);</li> <li><a href="/wiki/%E7%B6%93%E6%BF%9F%E5%AD%B8" title="經濟學">經濟學</a>例子:一間<a href="/wiki/%E5%85%AC%E5%8F%B8" title="公司">公司</a>整體生產咗幾多件<a href="/wiki/%E7%94%A2%E5%93%81" title="產品">產品</a>(高層變數)取決於個別員工嘅<a href="/wiki/%E5%B7%A5%E4%BD%9C%E8%A1%A8%E7%8F%BE" title="工作表現">工作表現</a>(下層啲個體嘅變數)。</li> <li>一個多重規模模型會同時考慮多過一個層面嘅現象,而且會用一個層面嗰啲變數出嘅數值(例:嚿物體啲粒子嘅<a href="/wiki/%E5%B9%B3%E5%9D%87%E5%80%BC" title="平均值">平均</a><a href="/wiki/%E9%80%9F%E5%BA%A6" title="速度">速度</a>、個物種啲個體平均每個生咗幾多<a href="/wiki/%E5%BE%8C%E4%BB%A3" title="後代">後代</a>、間公司嘅員工平均每人生產咗幾多件產品...)嚟做另外一啲層面嘅模擬嘅<a href="/wiki/%E5%8F%83%E6%95%B8" title="參數">參數</a><sup id="cite_ref-46" class="reference"><a href="#cite_note-46"><span class="cite-bracket">&#91;</span>27<span class="cite-bracket">&#93;</span></a></sup>。</li></ul></li></ul> <p>... 等等。 </p> <div style="clear: both;"></div> <div class="mw-heading mw-heading2"><h2 id="各領域嘅應用"><span id=".E5.90.84.E9.A0.98.E5.9F.9F.E5.98.85.E6.87.89.E7.94.A8"></span>各領域嘅應用</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=7" title="編輯小節: 各領域嘅應用"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E7%A7%91%E5%AD%B8%E9%81%8B%E7%AE%97" title="科學運算">科學運算</a></div> <div class="mw-heading mw-heading3"><h3 id="物理學"><span id=".E7.89.A9.E7.90.86.E5.AD.B8"></span>物理學</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=8" title="編輯小節: 物理學"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure typeof="mw:File/Thumb"><span><video id="mwe_player_1" poster="//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/PhysicsEngine.ogv/300px--PhysicsEngine.ogv.jpg" controls="" preload="none" data-mw-tmh="" class="mw-file-element" width="300" height="225" data-durationhint="16" data-mwtitle="PhysicsEngine.ogv" data-mwprovider="wikimediacommons" resource="/wiki/File:PhysicsEngine.ogv"><source src="//upload.wikimedia.org/wikipedia/commons/1/1c/PhysicsEngine.ogv" type="video/ogg; codecs=&quot;theora&quot;" data-width="400" data-height="300" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/1/1c/PhysicsEngine.ogv/PhysicsEngine.ogv.360p.webm" type="video/webm; codecs=&quot;vp8, vorbis&quot;" data-transcodekey="360p.webm" data-width="400" data-height="300" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/1/1c/PhysicsEngine.ogv/PhysicsEngine.ogv.144p.mjpeg.mov" type="video/quicktime" data-transcodekey="144p.mjpeg.mov" data-width="192" data-height="144" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/1/1c/PhysicsEngine.ogv/PhysicsEngine.ogv.240p.vp9.webm" type="video/webm; codecs=&quot;vp9, opus&quot;" data-transcodekey="240p.vp9.webm" data-width="320" data-height="240" /></video></span><figcaption>四個<a href="/wiki/%E9%81%8A%E6%88%B2%E7%89%A9%E7%90%86" title="遊戲物理">遊戲物理</a>嘅例子:<br /> 1 冇任何物理法則。<br /> 2 有<a href="/wiki/%E9%87%8D%E5%8A%9B" title="重力">重力</a>,但冇<a href="/wiki/%E7%A2%B0%E6%92%9E%E6%8E%A2%E6%B8%AC" title="碰撞探測">碰撞探測</a>。<br /> 3 有重力同碰撞探測,但冇<a href="/wiki/%E5%89%9B%E9%AB%94%E5%8B%95%E5%8A%9B%E5%AD%B8" title="剛體動力學">剛體動力學</a>。<br /> 4 基本嘢冚唪唥齊嗮,最能夠創造迫真嘅<a href="/wiki/%E9%83%81%E5%8B%95" class="mw-redirect" title="郁動">郁動</a>。</figcaption></figure> <div role="note" class="hatnote">内文:<a href="/wiki/%E7%89%A9%E7%90%86%E5%BC%95%E6%93%8E" title="物理引擎">物理引擎</a>同<a href="/wiki/%E9%81%8B%E7%AE%97%E7%89%A9%E7%90%86%E5%AD%B8" title="運算物理學">運算物理學</a></div> <div role="note" class="hatnote">睇埋:<a href="/wiki/%E9%81%8B%E7%AE%97%E5%8C%96%E5%AD%B8" title="運算化學">運算化學</a></div> <p><a href="/wiki/%E9%81%8B%E7%AE%97%E7%89%A9%E7%90%86%E5%AD%B8" title="運算物理學">運算物理學</a>涉及用<a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>方法(包括電腦模擬)解決<a href="/wiki/%E7%89%A9%E7%90%86%E5%AD%B8" title="物理學">物理學</a>上撞到嘅問題:物理學通常都會用一大柞<a href="/wiki/%E6%96%B9%E7%A8%8B%E5%BC%8F" title="方程式">方程式</a>(尤其係<a href="/wiki/%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="微分方程">微分方程</a>)表達某啲變數之間嘅關係,用呢啲變數組成嘅<a href="/wiki/%E6%95%B8%E5%AD%B8%E6%A8%A1%E5%9E%8B" title="數學模型">模型</a>嚟描述研究緊嘅現象。做物理學相關工作嘅人成日都會用電腦模擬嚟處理一啲<a href="/wiki/%E8%A7%A3%E6%9E%90%E8%A7%A3" title="解析解">解析解</a>(簡單講即係齋靠<a href="/wiki/%E4%BB%A3%E6%95%B8" class="mw-disambig" title="代數">操弄</a>方程式)搞唔掂嘅問題-呢啲問題往往係要做「想像 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=1}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mo>=</mo> <mn>1</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x=1}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/ee42176e76ae6b56d68c42ced807e08b962a2b54" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=1}"></span>,個答案係噉噉噉,想像 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=2}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mo>=</mo> <mn>2</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x=2}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9f39b6e42e5ffb81ac7b051b9e48b9a91d0713c7" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=2}"></span>,個答案係噉噉噉...」噉嘅<a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>方法嚟解(睇埋<a href="/wiki/%E6%95%B8%E5%80%BC%E5%88%86%E6%9E%90" title="數值分析">數值分析</a>),而當個冇得用解析解嚟解嘅問題涉及<a href="/wiki/%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1" title="複雜系統">複雜系統</a>嗰陣,變數嘅數量多得好交關,難以靠人手計嚟解決個問題,於是研究者就會用電腦模擬嘅方法,叫部電腦(例如)「計 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=1}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mo>=</mo> <mn>1</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x=1}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/ee42176e76ae6b56d68c42ced807e08b962a2b54" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=1}"></span> 嗰陣嘅答案,計 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x=2}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mo>=</mo> <mn>2</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x=2}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9f39b6e42e5ffb81ac7b051b9e48b9a91d0713c7" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:5.591ex; height:2.176ex;" alt="{\displaystyle x=2}"></span> 嗰陣嘅答案... 再將呢啲答案畫一條線出嚟睇」<sup id="cite_ref-47" class="reference"><a href="#cite_note-47"><span class="cite-bracket">&#91;</span>註 8<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-48" class="reference"><a href="#cite_note-48"><span class="cite-bracket">&#91;</span>28<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>除此之外,用電腦嚟模擬<a href="/wiki/%E7%89%A9%E7%90%86" class="mw-redirect" title="物理">物理</a>現象仲可以幫到手製作更加迫真嘅<a href="/wiki/%E8%99%9B%E6%93%AC%E4%B8%96%E7%95%8C" title="虛擬世界">虛擬世界</a>-形成咗所謂嘅<a href="/wiki/%E7%89%A9%E7%90%86%E5%BC%95%E6%93%8E" title="物理引擎">物理引擎</a><sup id="cite_ref-49" class="reference"><a href="#cite_note-49"><span class="cite-bracket">&#91;</span>e 13<span class="cite-bracket">&#93;</span></a></sup>技術,呢種技術對<a href="/wiki/%E9%9B%BB%E5%AD%90%E9%81%8A%E6%88%B2" title="電子遊戲">電子遊戲</a>同<a href="/wiki/%E8%99%9B%E6%93%AC%E5%AF%A6%E5%A2%83" title="虛擬實境">虛擬實境</a>等嘅產品嚟講不可或缺<sup id="cite_ref-50" class="reference"><a href="#cite_note-50"><span class="cite-bracket">&#91;</span>29<span class="cite-bracket">&#93;</span></a></sup>。例如類似以下呢段 <a href="/wiki/C_%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" class="mw-redirect" title="C 程式語言">C</a> 碼噉嘅碼可以攞嚟模擬喺<a href="/wiki/%E7%89%9B%E9%A0%93%E5%8A%9B%E5%AD%B8" class="mw-redirect" title="牛頓力學">牛頓力學</a><sup id="cite_ref-51" class="reference"><a href="#cite_note-51"><span class="cite-bracket">&#91;</span>e 14<span class="cite-bracket">&#93;</span></a></sup><a href="/wiki/%E4%BA%8C%E7%B6%AD%E7%A9%BA%E9%96%93" class="mw-redirect" title="二維空間">二維空間</a>下<a href="/wiki/%E9%83%81%E5%8B%95" class="mw-redirect" title="郁動">郁動</a>嘅<a href="/wiki/%E7%B2%92%E5%AD%90" title="粒子">粒子</a><sup id="cite_ref-52" class="reference"><a href="#cite_note-52"><span class="cite-bracket">&#91;</span>註 9<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-53" class="reference"><a href="#cite_note-53"><span class="cite-bracket">&#91;</span>30<span class="cite-bracket">&#93;</span></a></sup>,可以<a href="/wiki/%E9%81%8A%E6%88%B2%E7%89%A9%E7%90%86" title="遊戲物理">喺電子遊戲入面用嚟模擬物體嘅郁動</a>: </p> <div class="mw-highlight mw-highlight-lang-c mw-content-ltr" dir="ltr"><pre><span></span><span class="p">...</span> <span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="n">currentTime</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="n">totalSimulationTime</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="c1">// 當 currentTime &lt; totalSimulationTime,一路做...</span> <span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="p">(</span><span class="kt">int</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">&lt;</span><span class="w"> </span><span class="n">NUM_PARTICLES</span><span class="p">;</span><span class="w"> </span><span class="o">++</span><span class="n">i</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="c1">// 家陣模擬若干粒粒子,foreach 粒子,做...</span> <span class="w"> </span><span class="n">Particle</span><span class="w"> </span><span class="o">*</span><span class="n">particle</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o">&amp;</span><span class="n">particles</span><span class="p">[</span><span class="n">i</span><span class="p">];</span> <span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">force</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">ComputeForce</span><span class="p">(</span><span class="n">particle</span><span class="p">);</span><span class="w"> </span><span class="c1">// 有個子程序計吓呢粒粒子受緊幾多力。</span> <span class="w"> </span><span class="n">Vector2</span><span class="w"> </span><span class="n">acceleration</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">(</span><span class="n">Vector2</span><span class="p">){</span><span class="n">force</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">mass</span><span class="p">,</span><span class="w"> </span><span class="n">force</span><span class="p">.</span><span class="n">y</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">mass</span><span class="p">};</span> <span class="w"> </span><span class="c1">// 上面呢行碼係用牛頓第二定律計粒粒子跟住嘅加速度。</span> <span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">velocity</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">acceleration</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// 用加速度 update X 軸速度...</span> <span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">velocity</span><span class="p">.</span><span class="n">y</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">acceleration</span><span class="p">.</span><span class="n">y</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// 用加速度 update Y 軸速度...</span> <span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">position</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">velocity</span><span class="p">.</span><span class="n">x</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// 用速度 update X 軸位置...</span> <span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">position</span><span class="p">.</span><span class="n">y</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">particle</span><span class="o">-&gt;</span><span class="n">velocity</span><span class="p">.</span><span class="n">y</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// 用速度 update Y 軸位置...</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="n">PrintParticles</span><span class="p">();</span><span class="w"> </span><span class="c1">// 按啲粒子嘅位置,更新個畫面嘅樣。</span> <span class="w"> </span><span class="n">currentTime</span><span class="w"> </span><span class="o">+=</span><span class="w"> </span><span class="n">dt</span><span class="p">;</span><span class="w"> </span><span class="c1">// currentTime 上升 1。</span> <span class="w"> </span><span class="p">}</span> <span class="p">...</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="生物學"><span id=".E7.94.9F.E7.89.A9.E5.AD.B8"></span>生物學</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=9" title="編輯小節: 生物學"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure typeof="mw:File/Thumb"><a href="/wiki/File:Wolf_with_Caribou_Hindquarter.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Wolf_with_Caribou_Hindquarter.jpg/240px-Wolf_with_Caribou_Hindquarter.jpg" decoding="async" width="240" height="300" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Wolf_with_Caribou_Hindquarter.jpg/360px-Wolf_with_Caribou_Hindquarter.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/b8/Wolf_with_Caribou_Hindquarter.jpg/480px-Wolf_with_Caribou_Hindquarter.jpg 2x" data-file-width="2400" data-file-height="3000" /></a><figcaption>喺<a href="/wiki/%E9%98%BF%E6%8B%89%E6%96%AF%E5%8A%A0" class="mw-redirect" title="阿拉斯加">阿拉斯加</a>影到嘅一隻<a href="/wiki/%E7%8B%BC" title="狼">狼</a>;佢擔住一隻<a href="/wiki/%E9%A6%B4%E9%B9%BF" title="馴鹿">馴鹿</a>嘅<a href="/wiki/%E9%AB%80" title="髀">髀</a>。</figcaption></figure> <div role="note" class="hatnote">内文:<a href="/wiki/%E9%81%8B%E7%AE%97%E7%94%9F%E7%89%A9%E5%AD%B8" title="運算生物學">運算生物學</a></div> <p><a href="/wiki/%E9%81%8B%E7%AE%97%E7%94%9F%E7%89%A9%E5%AD%B8" title="運算生物學">運算生物學</a>涉及用運算方法(包括電腦模擬)解決<a href="/wiki/%E7%94%9F%E7%89%A9%E5%AD%B8" title="生物學">生物學</a>上撞到嘅問題:同(例如)運算物理學比起嚟,運算生物學比較傾向用<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本模型</a>,例如係<a href="/wiki/%E9%80%B2%E5%8C%96%E8%AB%96" class="mw-redirect" title="進化論">進化論</a>同<a href="/wiki/%E7%94%9F%E6%85%8B%E5%AD%B8" title="生態學">生態學</a>等領域上嘅研究都成日要分析一大柞個別噉做<a href="/wiki/%E6%B1%BA%E7%AD%96" title="決策">決策</a>嘅個體(<a href="/wiki/%E5%8B%95%E7%89%A9" title="動物">動物</a>或者<a href="/wiki/%E6%A4%8D%E7%89%A9" title="植物">植物</a>個體呀噉)之間嘅互動,以及係呢啲互動出嘅結果,而由於<a href="/wiki/%E5%9F%BA%E5%9B%A0%E7%AA%81%E8%AE%8A" title="基因突變">基因突變</a>等嘅現象,<a href="/wiki/%E7%94%9F%E5%91%BD" title="生命">生命</a>呢家嘢本質上就實會有可能存在個體差異-因為噉,個體為本模型就啱嗮,例子可以睇吓對<a href="/wiki/%E7%89%A9%E7%AB%B6%E5%A4%A9%E6%93%87" title="物競天擇">物競天擇</a>等嘅現象嘅模擬<sup id="cite_ref-54" class="reference"><a href="#cite_note-54"><span class="cite-bracket">&#91;</span>31<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-55" class="reference"><a href="#cite_note-55"><span class="cite-bracket">&#91;</span>32<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>雖然話生命現象傾向似個體為本模型,但運算生物學當中都有用到<a href="/wiki/%E6%96%B9%E7%A8%8B%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" class="mw-redirect" title="方程為本模型">方程為本模型</a>,例如<a href="/wiki/%E6%B4%9B%E5%8D%A1-%E4%BC%8F%E5%A1%94%E6%8B%89%E6%A8%A1%E5%9E%8B" class="mw-redirect" title="洛卡-伏塔拉模型">洛卡-伏塔拉模型</a><sup id="cite_ref-56" class="reference"><a href="#cite_note-56"><span class="cite-bracket">&#91;</span>e 15<span class="cite-bracket">&#93;</span></a></sup>就係一個好出名嘅生物學方程為本模型,初頭呢個模型係俾人攞嚟模擬<a href="/wiki/%E6%8D%95%E9%A3%9F%E8%80%85" class="mw-redirect" title="捕食者">捕食者</a>同<a href="/wiki/%E7%8D%B5%E7%89%A9" class="mw-redirect" title="獵物">獵物</a>响<a href="/wiki/%E7%94%9F%E6%85%8B%E7%B3%BB%E7%B5%B1" title="生態系統">生態系統</a>當中嘅互動,打後呢個模型仲有俾人攞嚟模擬第啲生命現象。呢個模型涉及咗以下呢兩條<a href="/wiki/%E9%9D%9E%E7%B7%9A%E6%80%A7" class="mw-redirect" title="非線性">非線性</a><a href="/wiki/%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="微分方程">微分方程</a><sup id="cite_ref-brauer2012_57-0" class="reference"><a href="#cite_note-brauer2012-57"><span class="cite-bracket">&#91;</span>33<span class="cite-bracket">&#93;</span></a></sup>: </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\frac {dx}{dt}}=\alpha x-\beta xy}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mrow> <mi>d</mi> <mi>x</mi> </mrow> <mrow> <mi>d</mi> <mi>t</mi> </mrow> </mfrac> </mrow> <mo>=</mo> <mi>&#x03B1;<!-- α --></mi> <mi>x</mi> <mo>&#x2212;<!-- − --></mo> <mi>&#x03B2;<!-- β --></mi> <mi>x</mi> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\frac {dx}{dt}}=\alpha x-\beta xy}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/088b7149be1adcc106e37463be680f2bfda5beae" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:15.955ex; height:5.509ex;" alt="{\displaystyle {\frac {dx}{dt}}=\alpha x-\beta xy}"></span></dd> <dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\frac {dy}{dt}}=\delta xy-\gamma y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mrow> <mi>d</mi> <mi>y</mi> </mrow> <mrow> <mi>d</mi> <mi>t</mi> </mrow> </mfrac> </mrow> <mo>=</mo> <mi>&#x03B4;<!-- δ --></mi> <mi>x</mi> <mi>y</mi> <mo>&#x2212;<!-- − --></mo> <mi>&#x03B3;<!-- γ --></mi> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\frac {dy}{dt}}=\delta xy-\gamma y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/2ca9b4df2f4c0324a13613c05ce9c0771f34f792" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:15.098ex; height:5.509ex;" alt="{\displaystyle {\frac {dy}{dt}}=\delta xy-\gamma y}"></span></dd></dl> <p>當中 </p> <ul><li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/87f9e315fd7e2ba406057a97300593c4802b53e4" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}"></span> 係<a href="/wiki/%E7%8D%B5%E7%89%A9" class="mw-redirect" title="獵物">獵物</a>(例:<a href="/wiki/%E5%85%94%E4%BB%94" class="mw-redirect" title="兔仔">兔仔</a>)嘅個體數量;</li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span> 係<a href="/wiki/%E6%8D%95%E9%A3%9F%E8%80%85" class="mw-redirect" title="捕食者">捕食者</a>(例:<a href="/wiki/%E7%8B%BC" title="狼">狼</a>)嘅個體數量;</li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 表示<a href="/wiki/%E6%99%82%E9%96%93" title="時間">時間</a>;</li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\frac {dx}{dt}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mrow> <mi>d</mi> <mi>x</mi> </mrow> <mrow> <mi>d</mi> <mi>t</mi> </mrow> </mfrac> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\frac {dx}{dt}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/5cd8f4577337ea1e3aa08b83b86f156fc04aff2c" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:3.382ex; height:5.509ex;" alt="{\displaystyle {\frac {dx}{dt}}}"></span> 表示獵物個體數量隨時間嘅<a href="/wiki/%E5%B0%8E%E6%95%B8" title="導數">導數</a>,即係獵物個體數量嘅<a href="/wiki/%E7%9E%AC%E9%96%93%E8%AE%8A%E7%8E%87" class="mw-redirect" title="瞬間變率">瞬間變率</a>(詳情可以睇<a href="/wiki/%E5%BE%AE%E7%A9%8D%E5%88%86" title="微積分">微積分</a>); <dl><dd>-呢個數值取決於 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/87f9e315fd7e2ba406057a97300593c4802b53e4" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}"></span>(獵物嘅數量會影響跟住落嚟有幾多隻新嘅獵物出世)同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle xy}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle xy}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/c72eb345e496513fb8b2fa4aa8c4d89b855f9a01" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.485ex; height:2.009ex;" alt="{\displaystyle xy}"></span>(獵物同捕食者嘅數量會共同影響跟住落嚟有幾多隻獵物死亡)。</dd></dl></li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\frac {dy}{dt}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mrow> <mi>d</mi> <mi>y</mi> </mrow> <mrow> <mi>d</mi> <mi>t</mi> </mrow> </mfrac> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\frac {dy}{dt}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b21987ac7e66811e0ae301c442a2eeb258d54818" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.005ex; width:3.207ex; height:5.509ex;" alt="{\displaystyle {\frac {dy}{dt}}}"></span> 表示捕食者個體數量隨時間嘅導數; <dl><dd>-呢個數值取決於 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span>(捕食者嘅數量會影響跟住落嚟有幾多隻新嘅捕食者出世)同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle xy}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle xy}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/c72eb345e496513fb8b2fa4aa8c4d89b855f9a01" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.485ex; height:2.009ex;" alt="{\displaystyle xy}"></span>(獵物同捕食者嘅數量會共同影響跟住落嚟有幾多隻捕食者因為捉唔到獵物而餓死)。</dd></dl></li> <li><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \alpha }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03B1;<!-- α --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \alpha }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b79333175c8b3f0840bfb4ec41b8072c83ea88d3" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.488ex; height:1.676ex;" alt="{\displaystyle \alpha }"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \beta }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03B2;<!-- β --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \beta }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/7ed48a5e36207156fb792fa79d29925d2f7901e8" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.332ex; height:2.509ex;" alt="{\displaystyle \beta }"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \delta }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03B4;<!-- δ --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \delta }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/c5321cfa797202b3e1f8620663ff43c4660ea03a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.049ex; height:2.343ex;" alt="{\displaystyle \delta }"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \gamma }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>&#x03B3;<!-- γ --></mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \gamma }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a223c880b0ce3da8f64ee33c4f0010beee400b1a" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:1.262ex; height:2.176ex;" alt="{\displaystyle \gamma }"></span> 係一柞<a href="/wiki/%E5%AF%A6%E6%95%B8" title="實數">實數</a><a href="/wiki/%E5%8F%83%E6%95%B8" title="參數">參數</a>,反映獵物同捕食者「平均每隻生產幾多隻<a href="/wiki/%E5%BE%8C%E4%BB%A3" title="後代">後代</a>」等嘅因素;</li></ul> <p>如果將 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle x}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>x</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle x}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/87f9e315fd7e2ba406057a97300593c4802b53e4" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.33ex; height:1.676ex;" alt="{\displaystyle x}"></span> 同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle y}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>y</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle y}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/b8a6208ec717213d4317e666f1ae872e00620a0d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.155ex; height:2.009ex;" alt="{\displaystyle y}"></span> 畫做圖(打橫嗰條軸係<a href="/wiki/%E6%99%82%E9%96%93" title="時間">時間</a><sup id="cite_ref-58" class="reference"><a href="#cite_note-58"><span class="cite-bracket">&#91;</span>註 10<span class="cite-bracket">&#93;</span></a></sup>),會出好似以下呢兩條噉嘅線(<span style="color:blue;">藍線</span>表示捕食者;<span style="color:red;">紅線</span>表示獵物): </p> <figure class="mw-halign-center" typeof="mw:File"><a href="/wiki/File:Lotka_Volterra_equation_Maple_plot.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Lotka_Volterra_equation_Maple_plot.png/840px-Lotka_Volterra_equation_Maple_plot.png" decoding="async" width="840" height="294" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/d/d7/Lotka_Volterra_equation_Maple_plot.png 1.5x" data-file-width="1142" data-file-height="400" /></a><figcaption></figcaption></figure> <p>跟住研究者仲有得調整吓啲參數,睇睇(例如)捕食者出生率突然勁跌會點樣影響個生態系統嘅情況<sup id="cite_ref-brauer2012_57-1" class="reference"><a href="#cite_note-brauer2012-57"><span class="cite-bracket">&#91;</span>33<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading3"><h3 id="認知科學"><span id=".E8.AA.8D.E7.9F.A5.E7.A7.91.E5.AD.B8"></span>認知科學</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=10" title="編輯小節: 認知科學"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD" title="人工智能">人工智能</a>、<a href="/wiki/%E9%81%8B%E7%AE%97%E8%AA%8D%E7%9F%A5" title="運算認知">運算認知</a>同<a href="/wiki/%E9%81%8B%E7%AE%97%E7%A5%9E%E7%B6%93%E7%A7%91%E5%AD%B8" title="運算神經科學">運算神經科學</a></div> <p><a href="/wiki/%E8%AA%8D%E7%9F%A5%E7%A7%91%E5%AD%B8" title="認知科學">認知科學</a>上都有用到電腦模擬-電腦模擬可以攞嚟研究<a href="/wiki/%E8%AA%8D%E7%9F%A5" title="認知">認知</a>(<a href="/wiki/%E9%81%8B%E7%AE%97%E8%AA%8D%E7%9F%A5" title="運算認知">運算認知</a>)同<a href="/wiki/%E7%A5%9E%E7%B6%93%E7%B3%BB%E7%B5%B1" title="神經系統">神經系統</a>(<a href="/wiki/%E9%81%8B%E7%AE%97%E7%A5%9E%E7%B6%93%E7%A7%91%E5%AD%B8" title="運算神經科學">運算神經科學</a>),而<a href="/wiki/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD" title="人工智能">人工智能</a>(AI)本質上就係嘗試緊用電腦方法嚟模擬<a href="/wiki/%E6%99%BA%E8%83%BD" title="智能">智能</a>,務求教電腦展現出好似有智能噉嘅行為<sup id="cite_ref-59" class="reference"><a href="#cite_note-59"><span class="cite-bracket">&#91;</span>34<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-60" class="reference"><a href="#cite_note-60"><span class="cite-bracket">&#91;</span>35<span class="cite-bracket">&#93;</span></a></sup>。例如<a href="/wiki/%E4%BA%BA%E5%B7%A5%E7%A5%9E%E7%B6%93%E7%B6%B2%E7%B5%A1" title="人工神經網絡">人工神經網絡</a><sup id="cite_ref-61" class="reference"><a href="#cite_note-61"><span class="cite-bracket">&#91;</span>e 16<span class="cite-bracket">&#93;</span></a></sup>就係一種好出名嘅<a href="/wiki/%E8%AA%8D%E7%9F%A5%E6%A8%A1%E5%9E%8B" title="認知模型">認知科學模型</a><sup id="cite_ref-62" class="reference"><a href="#cite_note-62"><span class="cite-bracket">&#91;</span>36<span class="cite-bracket">&#93;</span></a></sup>。人工神經網絡個諗頭係要用人工方法模仿動物神經細胞嘅功能:一粒<a href="/wiki/%E5%8B%95%E7%89%A9%E7%A5%9E%E7%B6%93%E7%B4%B0%E8%83%9E" class="mw-redirect" title="動物神經細胞">動物神經細胞</a>喺受到某啲特定刺激嗰陣,會用電或者化學方式向第啲神經細胞傳出<a href="/wiki/%E7%A5%9E%E7%B6%93%E8%A8%8A%E8%99%9F" class="mw-redirect" title="神經訊號">訊號</a>,然後同呢粒神經細胞相連嗰啲神經細胞會受到佢嘅訊號刺激,跟住又會各自噉射新嘅訊號-於是資訊就會喺成個<a href="/wiki/%E7%A5%9E%E7%B6%93%E7%B3%BB%E7%B5%B1" title="神經系統">神經系統</a>當中傳播開去<sup id="cite_ref-63" class="reference"><a href="#cite_note-63"><span class="cite-bracket">&#91;</span>37<span class="cite-bracket">&#93;</span></a></sup>;一個人工神經網絡由大量嘅<a href="/wiki/%E4%BA%BA%E5%B7%A5%E7%A5%9E%E7%B6%93%E7%B4%B0%E8%83%9E" title="人工神經細胞">人工神經細胞</a>組成,喺用電腦程式整神經網絡嗰陣,研究者會每粒人工神經細胞都同佢設個數值代表佢嘅<b>啟動程度</b><sup id="cite_ref-64" class="reference"><a href="#cite_note-64"><span class="cite-bracket">&#91;</span>e 17<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-65" class="reference"><a href="#cite_note-65"><span class="cite-bracket">&#91;</span>38<span class="cite-bracket">&#93;</span></a></sup>,而每粒神經細胞嘅啟動程度嘅數值都有條式計,呢條式包括咗喺佢之前嗰啲神經細胞嘅啟動程度<sup id="cite_ref-66" class="reference"><a href="#cite_note-66"><span class="cite-bracket">&#91;</span>39<span class="cite-bracket">&#93;</span></a></sup>。即係例如個程式 <a href="/wiki/Foreach" class="mw-redirect" title="Foreach">foreach</a> 細胞有一條類似噉樣嘅算式: </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle A=W_{1}A_{1}+W_{2}A_{2}...}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>A</mi> <mo>=</mo> <msub> <mi>W</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <msub> <mi>A</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> <mo>+</mo> <msub> <mi>W</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> <msub> <mi>A</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> <mo>.</mo> <mo>.</mo> <mo>.</mo> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle A=W_{1}A_{1}+W_{2}A_{2}...}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/dfb6665bdd84050b2886bfc2aee2210a7ed49b9d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:22.487ex; height:2.509ex;" alt="{\displaystyle A=W_{1}A_{1}+W_{2}A_{2}...}"></span>;(<a href="/wiki/%E5%95%9F%E5%8B%95%E5%87%BD%E6%95%B8" title="啟動函數">啟動函數</a>)</dd></dl> <p><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle A}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>A</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle A}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/7daff47fa58cdfd29dc333def748ff5fa4c923e3" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.743ex; height:2.176ex;" alt="{\displaystyle A}"></span> 代表粒神經細胞嘅啟動程度,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle A_{n}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>A</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>n</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle A_{n}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/730f6906700685b6d52f3958b1c2ae659d2d97d2" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.962ex; height:2.509ex;" alt="{\displaystyle A_{n}}"></span> 代表前嗰排嘅神經細胞當中第 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 粒嘅啟動程度,而 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle W_{n}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>W</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>n</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle W_{n}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0fa0340872ef1d6511eaf27ed7c57f98589a693d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.412ex; height:2.509ex;" alt="{\displaystyle W_{n}}"></span> 就係前嗰排嘅神經細胞當中第 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 粒嘅權重(指嗰粒細胞有幾影響到 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle A}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>A</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle A}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/7daff47fa58cdfd29dc333def748ff5fa4c923e3" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.743ex; height:2.176ex;" alt="{\displaystyle A}"></span>)。所以當一粒人工神經細胞啟動嗰陣,會帶起佢後面啲細胞跟住佢啟動-似十足生物神經網絡入面嗰啲細胞噉。假如個神經網絡嘅程式令佢能夠自行按照經驗改變 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle W_{n}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>W</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>n</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle W_{n}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0fa0340872ef1d6511eaf27ed7c57f98589a693d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.412ex; height:2.509ex;" alt="{\displaystyle W_{n}}"></span> 嘅數值嘅話,佢就會曉<a href="/wiki/%E6%A9%9F%E6%A2%B0%E5%AD%B8%E7%BF%92" title="機械學習">學習</a><sup id="cite_ref-67" class="reference"><a href="#cite_note-67"><span class="cite-bracket">&#91;</span>40<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div style="clear: both;"></div> <figure class="mw-halign-center" typeof="mw:File/Thumb"><a href="/wiki/File:Artificial_neural_network.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Artificial_neural_network.svg/langyue-400px-Artificial_neural_network.svg.png" decoding="async" width="400" height="357" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Artificial_neural_network.svg/langyue-600px-Artificial_neural_network.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Artificial_neural_network.svg/langyue-800px-Artificial_neural_network.svg.png 2x" data-file-width="560" data-file-height="500" /></a><figcaption>一個<a href="/wiki/%E5%89%8D%E9%A5%8B%E7%A5%9E%E7%B6%93%E7%B6%B2%E7%B5%A1" title="前饋神經網絡">前饋人工神經網絡</a>嘅抽象圖;每個圓圈代表咗一粒模擬嘅神經細胞,而每粒神經細胞嘅啟動程度由佢打前嗰排神經細胞嘅啟動程度話事<sup id="cite_ref-68" class="reference"><a href="#cite_note-68"><span class="cite-bracket">&#91;</span>41<span class="cite-bracket">&#93;</span></a></sup>。</figcaption></figure> <p>到咗廿一世紀初,人工神經網絡經已俾科學界廣泛噉用落去各種各樣嘅問題嗰度。喺應用上,事實證實咗人工神經網絡能夠處理<a href="/wiki/%E6%A9%9F%E6%A2%B0%E8%A6%96%E8%A6%BA" class="mw-redirect" title="機械視覺">機械視覺</a>同埋<a href="/wiki/%E8%AA%9E%E9%9F%B3%E8%AD%98%E5%88%A5" title="語音識別">語音識別</a>呢啲傳統嘅電腦程式好難解決到嘅問題<sup id="cite_ref-69" class="reference"><a href="#cite_note-69"><span class="cite-bracket">&#91;</span>42<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-70" class="reference"><a href="#cite_note-70"><span class="cite-bracket">&#91;</span>43<span class="cite-bracket">&#93;</span></a></sup>;而喺理論性質嘅<a href="/wiki/%E8%AA%8D%E7%9F%A5%E7%A7%91%E5%AD%B8" title="認知科學">認知科學</a>上亦有<a href="/wiki/%E8%81%AF%E7%B5%90%E4%B8%BB%E7%BE%A9" title="聯結主義">聯結主義</a><sup id="cite_ref-71" class="reference"><a href="#cite_note-71"><span class="cite-bracket">&#91;</span>e 18<span class="cite-bracket">&#93;</span></a></sup>理論,主張<a href="/wiki/%E5%BF%83%E9%9D%88" title="心靈">心靈</a>可以用人工神經網絡嚟模擬<sup id="cite_ref-72" class="reference"><a href="#cite_note-72"><span class="cite-bracket">&#91;</span>44<span class="cite-bracket">&#93;</span></a></sup>,例如有研究就成功噉用人工神經網絡令人工智能好似人噉識得睇一幅圖決定要將<a href="/wiki/%E6%B3%A8%E6%84%8F%E5%8A%9B" title="注意力">注意力</a>擺喺幅圖嘅邊一忽<sup id="cite_ref-73" class="reference"><a href="#cite_note-73"><span class="cite-bracket">&#91;</span>45<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading3"><h3 id="社會科學"><span id=".E7.A4.BE.E6.9C.83.E7.A7.91.E5.AD.B8"></span>社會科學</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=11" title="編輯小節: 社會科學"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E9%81%8B%E7%AE%97%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="運算社會科學">運算社會科學</a>、<a href="/wiki/%E9%81%8B%E7%AE%97%E7%B6%93%E6%BF%9F%E5%AD%B8" title="運算經濟學">運算經濟學</a>同<a href="/wiki/%E9%81%8B%E7%AE%97%E7%A4%BE%E6%9C%83%E5%AD%B8" title="運算社會學">運算社會學</a></div> <p><a href="/wiki/%E9%81%8B%E7%AE%97%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="運算社會科學">運算社會科學</a>係指用運算方法研究<a href="/wiki/%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="社會科學">社會科學</a>,例如用電腦模擬解析<a href="/wiki/%E7%A4%BE%E6%9C%83%E7%8F%BE%E8%B1%A1" title="社會現象">社會現象</a>。有學者指,電腦模擬呢種技術助長廿世紀起<a href="/wiki/%E7%B6%93%E6%BF%9F%E5%AD%B8" title="經濟學">經濟學</a>等嘅領域放棄唔真實嘅假設:廿世紀前嘅<a href="/wiki/%E5%8F%A4%E5%85%B8%E7%B6%93%E6%BF%9F%E5%AD%B8" title="古典經濟學">古典經濟學</a>成日會做一啲唔真實嘅假設,包括假設咗啲<a href="/wiki/%E7%B6%93%E6%BF%9F%E5%80%8B%E9%AB%94" title="經濟個體">經濟個體</a>喺做<a href="/wiki/%E7%B6%93%E6%BF%9F" title="經濟">經濟</a><a href="/wiki/%E6%B1%BA%E7%AD%96" title="決策">決策</a>嗰陣係<a href="/wiki/%E5%AE%8C%E5%85%A8%E8%B3%87%E8%A8%8A" title="完全資訊">乜都知嘅</a>(例如假設每個買家知道嗮<a href="/wiki/%E5%B8%82%E5%A0%B4" title="市場">市場</a>裏面啲<a href="/wiki/%E8%B2%A8" title="貨">貨</a>嘅<a href="/wiki/%E5%83%B9%E6%A0%BC" title="價格">價格</a>),呢個假設好明顯唔合符現實<sup id="cite_ref-74" class="reference"><a href="#cite_note-74"><span class="cite-bracket">&#91;</span>46<span class="cite-bracket">&#93;</span></a></sup>,但當時嗰啲研究者受到運算能力嘅局限-要計「如果每個個體响<a href="/wiki/%E8%B3%87%E8%A8%8A" title="資訊">資訊</a>上都有差異,個<a href="/wiki/%E7%B6%93%E6%BF%9F%E6%A8%A1%E5%9E%8B" title="經濟模型">模型</a>會得出乜結果」需要做嘅運算量大得滯,用人手根本做唔嚟(例:想像個模型模擬 1,000 個個體,佢哋個個<a href="/wiki/%E6%80%A7%E6%A0%BC" title="性格">性格</a>都唔同,研究者要人手噉<a href="/wiki/Foreach" class="mw-redirect" title="Foreach">逐個逐個</a>計佢哋嘅決策結果);呢點搞到啲學者明知個假設唔真實,都焗住要照用。廿世紀電腦模擬技術有咗好似<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本模型</a>噉嘅架生,令到<a href="/wiki/%E7%B6%93%E6%BF%9F%E5%AD%B8%E5%AE%B6" title="經濟學家">經濟學家</a>喺建立佢哋嘅模型嗰時可以考慮埋個體差異,助長咗經濟學上嘅革新<sup id="cite_ref-75" class="reference"><a href="#cite_note-75"><span class="cite-bracket">&#91;</span>47<span class="cite-bracket">&#93;</span></a></sup>。 </p><p><a href="/wiki/%E5%8D%9A%E5%BC%88%E8%AB%96" title="博弈論">博弈論</a><sup id="cite_ref-76" class="reference"><a href="#cite_note-76"><span class="cite-bracket">&#91;</span>e 19<span class="cite-bracket">&#93;</span></a></sup>上嘅研究成日都會用到個體為本模型,當中<a href="/wiki/%E9%87%8D%E8%A4%87%E7%9B%A3%E7%8A%AF%E5%9B%B0%E5%A2%83" class="mw-redirect" title="重複監犯困境">重複監犯困境</a><sup id="cite_ref-77" class="reference"><a href="#cite_note-77"><span class="cite-bracket">&#91;</span>e 20<span class="cite-bracket">&#93;</span></a></sup>就係一個出名嘅例子:<a href="/wiki/%E7%9B%A3%E7%8A%AF%E5%9B%B0%E5%A2%83" title="監犯困境">監犯困境</a>係一種<a href="/wiki/%E5%8D%9A%E5%BC%88" class="mw-redirect" title="博弈">博弈</a>;喺一場監犯困境當中,每位博弈者有兩個選擇-合作同背叛;而一場兩人監犯困境嘅<a href="/wiki/%E5%A0%B1%E5%84%9F%E7%9F%A9%E9%99%A3" class="mw-redirect" title="報償矩陣">報償矩陣</a>如下,每個格嗰兩個數值表示兩個人嘅分別所得<sup id="cite_ref-poundstone1993_78-0" class="reference"><a href="#cite_note-poundstone1993-78"><span class="cite-bracket">&#91;</span>48<span class="cite-bracket">&#93;</span></a></sup>: </p> <div style="clear: both;"></div> <table border="2" cellpadding="4" cellspacing="0" style="background: #f9f9f9;border: 1px #aaa solid; border-collapse: collapse;"> <caption> </caption> <tbody><tr> <td> </td> <th scope="col" style="color: #900">紅色揀<b>合作</b> </th> <th scope="col" style="color: #900">紅色揀<b>背叛</b> </th></tr> <tr> <th scope="row" style="color: #009">藍色揀<b>合作</b> </th> <td><center><span style="color: #009">R</span>, <span style="color: #900">R</span></center> </td> <td><center><span style="color: #009">S</span>, <span style="color: #900">T</span></center> </td></tr> <tr> <th scope="row" style="color: #009">藍色揀<b>背叛</b> </th> <td><center><span style="color: #009">T</span>, <span style="color: #900">S</span></center> </td> <td><center><span style="color: #009">P</span>, <span style="color: #900">P</span></center> </td></tr></tbody></table> <p><a href="/wiki/%E5%AE%9A%E7%BE%A9" title="定義">定義</a>上,喺監犯困境當中,以下呢條<a href="/wiki/%E4%B8%8D%E7%AD%89%E5%BC%8F" title="不等式">不等式</a>成立(假設報償值係愈<a href="/wiki/%E6%AD%A3%E6%95%B8" title="正數">正</a>愈理想): </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T&gt;R&gt;P&gt;S}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>T</mi> <mo>&gt;</mo> <mi>R</mi> <mo>&gt;</mo> <mi>P</mi> <mo>&gt;</mo> <mi>S</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle T&gt;R&gt;P&gt;S}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/fe6fac90a83474d2b977ae4ff2075c146534cb60" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:15.94ex; height:2.176ex;" alt="{\displaystyle T&gt;R&gt;P&gt;S}"></span></dd></dl> <p>例:<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 0&gt;-0.5&gt;-5&gt;-10}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mn>0</mn> <mo>&gt;</mo> <mo>&#x2212;<!-- − --></mo> <mn>0.5</mn> <mo>&gt;</mo> <mo>&#x2212;<!-- − --></mo> <mn>5</mn> <mo>&gt;</mo> <mo>&#x2212;<!-- − --></mo> <mn>10</mn> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle 0&gt;-0.5&gt;-5&gt;-10}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/104b1e5ca0a11a217f9abeea19946cba57510414" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.505ex; width:22.341ex; height:2.343ex;" alt="{\displaystyle 0&gt;-0.5&gt;-5&gt;-10}"></span>;簡單講,監犯困境係指大家合作就可以得到 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>R</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle R}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/4b0bfb3769bf24d80e15374dc37b0441e2616e33" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.764ex; height:2.176ex;" alt="{\displaystyle R}"></span> 咁多利益,一位博弈者單方面背叛可以攞到著數(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T&gt;R}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>T</mi> <mo>&gt;</mo> <mi>R</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle T&gt;R}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0d1fa60c9da906b73422a9f79364c30dda045601" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:6.499ex; height:2.176ex;" alt="{\displaystyle T&gt;R}"></span>),但如果雙方都背叛就大家齊齊輸(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R&gt;P}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>R</mi> <mo>&gt;</mo> <mi>P</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle R&gt;P}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/37afbcb755b88dab03bced457fbdbcd90d55a904" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:6.608ex; height:2.176ex;" alt="{\displaystyle R&gt;P}"></span>)<sup id="cite_ref-poundstone1993_78-1" class="reference"><a href="#cite_note-poundstone1993-78"><span class="cite-bracket">&#91;</span>48<span class="cite-bracket">&#93;</span></a></sup>。重複監犯困境係指啲博弈者進入監犯困境嘅情境若干次<sup id="cite_ref-79" class="reference"><a href="#cite_note-79"><span class="cite-bracket">&#91;</span>49<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-80" class="reference"><a href="#cite_note-80"><span class="cite-bracket">&#91;</span>50<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>有研究者進行電腦模擬研究,行個體為本模型模擬重複監犯困境,喺最簡單嘅情況下即係<sup id="cite_ref-81" class="reference"><a href="#cite_note-81"><span class="cite-bracket">&#91;</span>51<span class="cite-bracket">&#93;</span></a></sup>: </p> <ol><li><a href="/wiki/%E5%88%9D%E5%A7%8B%E5%8C%96" title="初始化">初始化</a>,將 <code>R</code>、<code>T</code>、<code>S</code> 同 <code>P</code> 設定做特定嘅數值;</li> <li>建立 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle n}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>n</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle n}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a601995d55609f2d9f5e233e36fbe9ea26011b3b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.395ex; height:1.676ex;" alt="{\displaystyle n}"></span> 個模擬嘅個體,每個個體有兩個屬性-「採取嘅策略」 <code>strat</code> 同埋「累積咗嘅總得益」 <code>jik</code>;</li> <li>是但抽兩個個體,俾佢哋進行監犯困境博弈,每位模擬嘅博弈者會按佢嘅 <code>strat</code> 做<a href="/wiki/%E6%B1%BA%E7%AD%96" title="決策">決策</a>;</li> <li>按每個個體做嘅決定,計佢嘅總得益點變,例如兩個都揀咗合作嘅話,噉佢哋每個人都 <code>jik = jik + R</code>;</li> <li>重複步驟 3 同 4 若干次;</li></ol> <p>原則上,「最成功嘅策略」係指令到個體嘅總得益最大化嘅策略,所以研究者要做嘅嘢係喺步驟 3 同 4 重複咗若干次之後,<a href="/wiki/Foreach" class="mw-redirect" title="Foreach">foreach</a> 策略類型,(例如)計吓採取嗰種策略嘅個體嘅<a href="/wiki/%E5%B9%B3%E5%9D%87%E5%80%BC" title="平均值">平均</a> <code>jik</code>,而呢個數值最高嗰種策略就係「最成功嘅策略」。結果發現,「永遠淨係揀合作」係一種非常惡劣嘅策略,會搞到個個體係噉勁俾人背叛而最後輸(假設 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T&gt;S}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>T</mi> <mo>&gt;</mo> <mi>S</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle T&gt;S}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/320976b4dd090d2df7a9e21c1ed07d63c6182cca" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:6.234ex; height:2.176ex;" alt="{\displaystyle T&gt;S}"></span>,而且 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T-S}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>T</mi> <mo>&#x2212;<!-- − --></mo> <mi>S</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle T-S}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/21c0bf1ad248aa6e574a4b733e8cb03479cff4ae" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.505ex; width:5.976ex; height:2.343ex;" alt="{\displaystyle T-S}"></span> 數值有咁上下大)。啲研究者就靠呢個結果作出推論:重複監犯困境就好似人嘅現實生活噉-人係一種有<a href="/wiki/%E7%A4%BE%E6%9C%83%E6%80%A7" title="社會性">社會性</a>嘅動物,往往會一齊合作先可以做到最多嘢(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle R&gt;P}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>R</mi> <mo>&gt;</mo> <mi>P</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle R&gt;P}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/37afbcb755b88dab03bced457fbdbcd90d55a904" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:6.608ex; height:2.176ex;" alt="{\displaystyle R&gt;P}"></span>),但喺合作嘅情境當中,成日都會出現機會容許某啲參與者搵第啲參與者老襯(背叛係有可能發生嘅,而且 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle T&gt;R&gt;S}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>T</mi> <mo>&gt;</mo> <mi>R</mi> <mo>&gt;</mo> <mi>S</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle T&gt;R&gt;S}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a7d00e8156d90998ca1fb135fb22edd3e8e5309d" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:11.096ex; height:2.176ex;" alt="{\displaystyle T&gt;R&gt;S}"></span>),而世界唔係<a href="/wiki/%E7%83%8F%E6%89%98%E9%82%A6" title="烏托邦">烏托邦</a>,完全<a href="/wiki/%E5%88%A9%E4%BB%96" class="mw-redirect" title="利他">利他</a>嘅人係缺乏靠自己生存嘅能力嘅-人實要識得喺俾人背叛嗰陣,用返背叛嚟應對,以防俾人搵老襯<sup id="cite_ref-82" class="reference"><a href="#cite_note-82"><span class="cite-bracket">&#91;</span>52<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading3"><h3 id="工程學"><span id=".E5.B7.A5.E7.A8.8B.E5.AD.B8"></span>工程學</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=12" title="編輯小節: 工程學"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E9%81%8B%E7%AE%97%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="運算工程學">運算工程學</a>同<a href="/wiki/%E6%9C%89%E9%99%90%E5%85%83%E5%88%86%E6%9E%90" title="有限元分析">有限元分析</a></div> <p><a href="/wiki/%E9%81%8B%E7%AE%97%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="運算工程學">運算工程學</a>涉及用電腦模擬等嘅運算方法分析<a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a>上應付嘅人造<a href="/wiki/%E7%B3%BB%E7%B5%B1" title="系統">系統</a>(例如<a href="/wiki/%E6%A9%9F%E6%A2%B0" title="機械">機械</a>同<a href="/wiki/%E5%BB%BA%E7%AF%89%E7%89%A9" class="mw-redirect" title="建築物">建築物</a>)。喺運算工程學上,電腦模擬通常會以<a href="/wiki/%E7%89%A9%E7%90%86%E5%AD%B8" title="物理學">物理學</a>知識做基礎<sup id="cite_ref-83" class="reference"><a href="#cite_note-83"><span class="cite-bracket">&#91;</span>註 11<span class="cite-bracket">&#93;</span></a></sup>,即係「分析緊個系統,個系統嘅原理涉及咗呢柞呢柞<a href="/wiki/%E7%89%A9%E7%90%86%E5%AE%9A%E5%BE%8B" title="物理定律">物理定律</a>,將個系統涉及嗰啲物理定律編寫做程式,再行嚟睇,就做到模擬個系統行起上嚟會係點」<sup id="cite_ref-84" class="reference"><a href="#cite_note-84"><span class="cite-bracket">&#91;</span>53<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>例如廿一世紀初嘅<a href="/wiki/%E7%B5%90%E6%A7%8B%E5%88%86%E6%9E%90" title="結構分析">結構分析</a><sup id="cite_ref-85" class="reference"><a href="#cite_note-85"><span class="cite-bracket">&#91;</span>e 21<span class="cite-bracket">&#93;</span></a></sup>就時不時都會用到電腦模擬:結構分析常用於<a href="/wiki/%E5%9C%9F%E6%9C%A8%E5%B7%A5%E7%A8%8B" title="土木工程">土木工程</a>-包括咗<a href="/wiki/%E7%B5%90%E6%A7%8B%E5%B7%A5%E7%A8%8B" title="結構工程">結構工程</a>同<a href="/wiki/%E5%BB%BA%E7%AF%89%E5%B7%A5%E7%A8%8B" title="建築工程">建築工程</a>-指個<a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%B8%AB" title="工程師">工程師</a>分析一個<a href="/wiki/%E7%B5%90%E6%A7%8B" title="結構">結構</a>同埋嗰個結構嘅各橛分別受到點樣嘅<a href="/wiki/%E7%B5%90%E6%A7%8B%E8%B2%A0%E8%8D%B7" title="結構負荷">負荷</a>,以及係分析呢啲負荷會對個結構造成乜嘢影響(例如係會唔會砸冧個結構),對於建設安全嘅結構嚟講不可或缺<sup id="cite_ref-mcKenzie2013_86-0" class="reference"><a href="#cite_note-mcKenzie2013-86"><span class="cite-bracket">&#91;</span>54<span class="cite-bracket">&#93;</span></a></sup>,例如想像以下呢個噉嘅簡單結構,個結構係個<a href="/wiki/%E7%AD%89%E9%82%8A%E4%B8%89%E8%A7%92%E5%BD%A2" title="等邊三角形">等邊三角形</a>,個工程師打算用呢個結構嚟撐住啲嘢,個結構要承受一股由上面壓落嚟嘅<a href="/wiki/%E5%8A%9B" title="力">力</a>,股力嘅大細係 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle 10{\text{ N}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mn>10</mn> <mrow class="MJX-TeXAtom-ORD"> <mtext>&#xA0;N</mtext> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle 10{\text{ N}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/20846e05bb1164bdf2b2e005715501f481cbb0f4" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:4.649ex; height:2.176ex;" alt="{\displaystyle 10{\text{ N}}}"></span> 咁多: </p> <dl><dd><figure class="mw-halign-center mw-image-border" typeof="mw:File"><a href="/wiki/File:Truss_Structure_Analysis,_Full_Figure2.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/3/3c/Truss_Structure_Analysis%2C_Full_Figure2.jpg" decoding="async" width="690" height="487" class="mw-file-element" data-file-width="652" data-file-height="460" /></a><figcaption></figcaption></figure></dd></dl> <p>由<a href="/wiki/%E5%8A%9B%E5%AD%B8" title="力學">力學</a>上嘅知識(作為分析基礎嘅物理學知識)已知,呢股力會造成一股<a href="/wiki/%E5%8F%8D%E4%BD%9C%E7%94%A8%E5%8A%9B" title="反作用力">反作用力</a>。而假設組成個結構嗰啲<a href="/wiki/%E6%A8%91" title="樑">樑</a>夠嗮硬淨唔會變形(<a href="/wiki/%E5%89%9B%E9%AB%94" title="剛體">剛體</a>),而且啲<a href="/wiki/%E7%B5%90%E6%A7%8B%E7%AF%80%E9%BB%9E" title="結構節點">節點</a>又夠勁(啲樑唔會走位),噉啲反作用力(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{R}}_{A_{x}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mtext>R</mtext> </mrow> <mrow class="MJX-TeXAtom-ORD"> <msub> <mi>A</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>x</mi> </mrow> </msub> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{R}}_{A_{x}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/a3f043b1781911e69ce42a239207bdc2e2ae84c2" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.838ex; width:4.103ex; height:2.676ex;" alt="{\displaystyle {\text{R}}_{A_{x}}}"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{R}}_{A_{y}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mtext>R</mtext> </mrow> <mrow class="MJX-TeXAtom-ORD"> <msub> <mi>A</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>y</mi> </mrow> </msub> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{R}}_{A_{y}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/6f61ca0375febe2ea9e2685859cee9c0c02066c2" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.171ex; width:4.003ex; height:3.009ex;" alt="{\displaystyle {\text{R}}_{A_{y}}}"></span>、<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{R}}_{B}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mtext>R</mtext> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mi>B</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{R}}_{B}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/bf055cc68cdb94a4bca0b2e21ee13e7f56103735" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:3.19ex; height:2.509ex;" alt="{\displaystyle {\text{R}}_{B}}"></span>)會係噉嘅樣(想像啲節點有特殊構造): </p> <dl><dd><figure class="mw-halign-center mw-image-border" typeof="mw:File"><a href="/wiki/File:Truss_Structure_Analysis,_FBD2.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/1/12/Truss_Structure_Analysis%2C_FBD2.jpg" decoding="async" width="480" height="462" class="mw-file-element" data-file-width="434" data-file-height="418" /></a><figcaption></figcaption></figure></dd></dl> <p>而按物理學上對力嘅知識,如果成個結構企到喺度唔郁(個結構會郁就表示可能會冧),噉啲力加埋嗮係 0,即係話喺 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle {\text{A}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mtext>A</mtext> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle {\text{A}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/9a3d98083f2be1ce5c681190df371d29455c2d31" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.743ex; height:2.176ex;" alt="{\displaystyle {\text{A}}}"></span> 嗰點嘅力可以噉樣想像(<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F_{y}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>y</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F_{y}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/170e2b3a1ee797adf59f0a732b32eb0028e8437c" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.005ex; width:2.544ex; height:2.843ex;" alt="{\displaystyle F_{y}}"></span> 係沿打戙嗰條軸嘅力,<span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle F_{x}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>x</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle F_{x}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/0933c4941964a99c1aec59edb9e261468c4f9f49" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:2.667ex; height:2.509ex;" alt="{\displaystyle F_{x}}"></span> 係沿打橫嗰條軸嘅力,因為個結構係等邊三角形,所以每隻角嘅<a href="/wiki/%E8%A7%92%E5%BA%A6" title="角度">角度</a>係 60°): </p> <dl><dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \sum F_{y}=0=R_{Ay}+F_{AD}\sin(60)={\frac {10}{2}}+F_{AD}{\frac {\sqrt {3}}{2}}\Rightarrow F_{AD}=-{\frac {10}{\sqrt {3}}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mo>&#x2211;<!-- ∑ --></mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>y</mi> </mrow> </msub> <mo>=</mo> <mn>0</mn> <mo>=</mo> <msub> <mi>R</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>y</mi> </mrow> </msub> <mo>+</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>D</mi> </mrow> </msub> <mi>sin</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mo stretchy="false">(</mo> <mn>60</mn> <mo stretchy="false">)</mo> <mo>=</mo> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>10</mn> <mn>2</mn> </mfrac> </mrow> <mo>+</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>D</mi> </mrow> </msub> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <msqrt> <mn>3</mn> </msqrt> <mn>2</mn> </mfrac> </mrow> <mo stretchy="false">&#x21D2;<!-- ⇒ --></mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>D</mi> </mrow> </msub> <mo>=</mo> <mo>&#x2212;<!-- − --></mo> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>10</mn> <msqrt> <mn>3</mn> </msqrt> </mfrac> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \sum F_{y}=0=R_{Ay}+F_{AD}\sin(60)={\frac {10}{2}}+F_{AD}{\frac {\sqrt {3}}{2}}\Rightarrow F_{AD}=-{\frac {10}{\sqrt {3}}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/43c57fac47c6a9769fe5c22a2ce4a12a20f2f908" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.838ex; width:66.358ex; height:6.843ex;" alt="{\displaystyle \sum F_{y}=0=R_{Ay}+F_{AD}\sin(60)={\frac {10}{2}}+F_{AD}{\frac {\sqrt {3}}{2}}\Rightarrow F_{AD}=-{\frac {10}{\sqrt {3}}}}"></span></dd> <dd><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \sum F_{x}=0=R_{Ax}+F_{AD}\cos(60)+F_{AB}=0-{\frac {10}{\sqrt {3}}}{\frac {1}{2}}+F_{AB}\Rightarrow F_{AB}={\frac {5}{\sqrt {3}}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mo>&#x2211;<!-- ∑ --></mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>x</mi> </mrow> </msub> <mo>=</mo> <mn>0</mn> <mo>=</mo> <msub> <mi>R</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>x</mi> </mrow> </msub> <mo>+</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>D</mi> </mrow> </msub> <mi>cos</mi> <mo>&#x2061;<!-- ⁡ --></mo> <mo stretchy="false">(</mo> <mn>60</mn> <mo stretchy="false">)</mo> <mo>+</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>B</mi> </mrow> </msub> <mo>=</mo> <mn>0</mn> <mo>&#x2212;<!-- − --></mo> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>10</mn> <msqrt> <mn>3</mn> </msqrt> </mfrac> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> </mrow> <mo>+</mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>B</mi> </mrow> </msub> <mo stretchy="false">&#x21D2;<!-- ⇒ --></mo> <msub> <mi>F</mi> <mrow class="MJX-TeXAtom-ORD"> <mi>A</mi> <mi>B</mi> </mrow> </msub> <mo>=</mo> <mrow class="MJX-TeXAtom-ORD"> <mfrac> <mn>5</mn> <msqrt> <mn>3</mn> </msqrt> </mfrac> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \sum F_{x}=0=R_{Ax}+F_{AD}\cos(60)+F_{AB}=0-{\frac {10}{\sqrt {3}}}{\frac {1}{2}}+F_{AB}\Rightarrow F_{AB}={\frac {5}{\sqrt {3}}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/33ba7cea95e2ef40c429fa6a7415ae64ef2316d0" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -2.838ex; width:74.713ex; height:6.176ex;" alt="{\displaystyle \sum F_{x}=0=R_{Ax}+F_{AD}\cos(60)+F_{AB}=0-{\frac {10}{\sqrt {3}}}{\frac {1}{2}}+F_{AB}\Rightarrow F_{AB}={\frac {5}{\sqrt {3}}}}"></span></dd> <dd><figure class="mw-halign-center mw-image-border" typeof="mw:File"><a href="/wiki/File:Truss_Structure_Analysis,_Method_of_Joints2.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/a/af/Truss_Structure_Analysis%2C_Method_of_Joints2.png" decoding="async" width="480" height="490" class="mw-file-element" data-file-width="418" data-file-height="427" /></a><figcaption></figcaption></figure></dd></dl> <p>... 喺另外嗰幾點嘅力可以用同樣嘅道理嚟諗。如是者,個工程師就計到嗮「每條樑會受幾多力」等嘅重要資訊。上述呢個係一個簡化嘅例子:喺現實應用上,大些少嘅建築物會有成千上萬個類似噉嘅結構部件,唔可能人手計嗮。所以廿世紀末以來嘅工程師都會搵電腦模擬幫手,將結構唔同部份之間嘅互動定律組裝成<a href="/wiki/%E7%9F%A9%E9%99%A3" title="矩陣">矩陣</a>,然後解方程,得出結構每部分需要受幾多力同會郁幾多,知道成棟嘢會唔會因為噉而有機會冧,俾工程師做「成棟建築物噉樣起得唔得」嘅判斷<sup id="cite_ref-mcKenzie2013_86-1" class="reference"><a href="#cite_note-mcKenzie2013-86"><span class="cite-bracket">&#91;</span>54<span class="cite-bracket">&#93;</span></a></sup>。 </p><p>複雜啲嘅工程運算會涉及唔係<a href="/wiki/%E7%B7%9A%E6%80%A7" class="mw-redirect" title="線性">線性</a>嘅自然定律,呢啲定律加埋日常物件形狀上嘅不規則,工程運算原則上冇絕對準嘅答案,只能夠將現實處境拆做好多嚿細細個、會彼此互動嘅組件,然後用電腦模擬計個大約啱嘅答案出嚟。呢種做法就叫做<a href="/wiki/%E6%9C%89%E9%99%90%E5%85%83%E5%88%86%E6%9E%90" title="有限元分析">有限元分析</a><sup id="cite_ref-87" class="reference"><a href="#cite_note-87"><span class="cite-bracket">&#91;</span>55<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div class="mw-heading mw-heading2"><h2 id="驗證同確認"><span id=".E9.A9.97.E8.AD.89.E5.90.8C.E7.A2.BA.E8.AA.8D"></span>驗證同確認</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=13" title="編輯小節: 驗證同確認"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC%E6%A8%A1%E5%9E%8B%E9%A9%97%E8%AD%89%E5%90%8C%E7%A2%BA%E8%AA%8D" title="電腦模擬模型驗證同確認">電腦模擬模型驗證同確認</a></div> <div role="note" class="hatnote">睇埋:<a href="/wiki/%E9%80%BC%E8%BF%91%E7%90%86%E8%AB%96" title="逼近理論">逼近理論</a>同<a href="/wiki/%E7%90%83%E7%8B%80%E4%B9%B3%E7%89%9B" title="球狀乳牛">球狀乳牛</a></div> <p>喺做咗一場電腦模擬之後,研究者仲要評估個模型掂唔掂:電腦模擬用嘅模型梗會涉及<a href="/wiki/%E6%8A%BD%E8%B1%A1%E5%8C%96" title="抽象化">抽象化</a>,即係有一啲特徵係現實嗰樣現象有、但個模型係冇嘅;例如<a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a>上用電腦模型模擬<a href="/wiki/%E6%A9%9F%E6%A2%B0" title="機械">機械</a>或者<a href="/wiki/%E5%BB%BA%E7%AF%89%E7%89%A9" class="mw-redirect" title="建築物">建築物</a>等嘅結構嗰時,就好興假設組成個結構嗰啲<a href="/wiki/%E6%9F%B1" title="柱">柱</a>同<a href="/wiki/%E6%A8%91" title="樑">樑</a>係<a href="/wiki/%E5%89%9B%E9%AB%94" title="剛體">剛體</a>唔會變形-原則上,呢個假設係一種<a href="/wiki/%E7%90%86%E6%83%B3%E5%8C%96" title="理想化">理想化</a>,現實世界冇任何嘢係真正嘅剛體,不過如果啲<a href="/wiki/%E5%BB%BA%E7%AF%89%E6%9D%90%E6%96%99" title="建築材料">建築材料</a>真係造得好精良,硬淨得好交關,硬淨到要極大嘅力(例如有嚿<a href="/wiki/%E9%9A%95%E7%9F%B3" title="隕石">隕石</a>撞落去)先可以搞到佢變形,而呢啲「極大嘅力」出現嘅<a href="/wiki/%E6%A9%9F%E7%8E%87" class="mw-redirect" title="機率">機率</a>微乎其微(「有嚿隕石跌落嚟」係一件好少可會發生嘅事件)<sup id="cite_ref-88" class="reference"><a href="#cite_note-88"><span class="cite-bracket">&#91;</span>56<span class="cite-bracket">&#93;</span></a></sup>,噉「個結構係剛體」呢一點喺絕大多數時候都會成立,所以個假設雖然唔真實,但唔會對分析嘅準確度造成顯著嘅負面影響,可以照用<sup id="cite_ref-89" class="reference"><a href="#cite_note-89"><span class="cite-bracket">&#91;</span>57<span class="cite-bracket">&#93;</span></a></sup>。由呢個例子睇得出,一個電腦模擬模型實會有可能做唔到準確噉描述現實,問題只係「個模型失敗嘅機率有幾大」(一般係愈低愈好)同「個模型會喺幾多個情況下啱用」(一般係愈多愈好)。 </p><p>評估一個電腦模擬模型主要有兩大過程-<a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC%E6%A8%A1%E5%9E%8B%E9%A9%97%E8%AD%89" class="mw-redirect" title="電腦模擬模型驗證">驗證</a><sup id="cite_ref-90" class="reference"><a href="#cite_note-90"><span class="cite-bracket">&#91;</span>e 22<span class="cite-bracket">&#93;</span></a></sup>同<a href="/wiki/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC%E6%A8%A1%E5%9E%8B%E7%A2%BA%E8%AA%8D" class="mw-redirect" title="電腦模擬模型確認">確認</a><sup id="cite_ref-91" class="reference"><a href="#cite_note-91"><span class="cite-bracket">&#91;</span>e 23<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-parker2013_92-0" class="reference"><a href="#cite_note-parker2013-92"><span class="cite-bracket">&#91;</span>58<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-93" class="reference"><a href="#cite_note-93"><span class="cite-bracket">&#91;</span>59<span class="cite-bracket">&#93;</span></a></sup>: </p> <ul><li><b>驗證</b>係指睇吓個模型嘅<a href="/wiki/Output" class="mw-redirect" title="Output">輸出</a>同原模型嗰啲<a href="/wiki/%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="微分方程">微分方程</a>嘅解答接唔接近;呢個過程包括檢查個模型啲<a href="/wiki/%E6%BA%90%E7%A2%BC" class="mw-redirect" title="源碼">源碼</a>做嘅運算係咪同預想中嘅<a href="/wiki/%E6%BC%94%E7%AE%97%E6%B3%95" title="演算法">演算法</a>相同,仲有係睇吓用個模型計出嚟嘅結果係咪合符用<a href="/wiki/%E8%A7%A3%E6%9E%90%E8%A7%A3" title="解析解">解析解</a>得出嘅結果(如果個模型模擬嗰樣現象係有可能用解析解計嘅話)<sup id="cite_ref-94" class="reference"><a href="#cite_note-94"><span class="cite-bracket">&#91;</span>註 12<span class="cite-bracket">&#93;</span></a></sup>。</li> <li><b>確認</b>係指睇吓個模型「表示到現實嗰樣系統嘅程度」係咪足以達到場電腦模擬嘅目的;呢個過程通常會涉及個研究者行完場模擬之後走去做<a href="/wiki/%E5%AF%A6%E9%A9%97" title="實驗">實驗</a>攞<a href="/wiki/%E6%95%B8%E6%93%9A" title="數據">數據</a>,睇吓啲數據係咪真係合乎個模型嘅預測,例如一個工程師做電腦模擬,模擬一個新設計嘅<a href="/wiki/%E6%91%A9%E6%89%93" title="摩打">摩打</a>行起上嚟係點,個模型預測個摩打嘅<a href="/wiki/%E6%95%88%E7%8E%87" title="效率">效率</a>「會係咁多咁多」,而個模型預測嘅效率數值非常好(根據佢個理論,個摩打效率非常咁高),令佢有信心郁手整個摩打嘅<a href="/wiki/%E5%8E%9F%E5%9E%8B" title="原型">原型</a>出嚟;响整好咗個原型之後,佢就開始試行吓個原型摩打,並且搵方法<a href="/wiki/%E9%87%8F%E5%BA%A6" title="量度">量度</a>個摩打嘅效率(攞到數據)-「啲數據係咪合符佢嘅原先預期」就反映佢個模型掂唔掂。 <ul><li>有好多做電腦模擬研究嘅科學家都覺得確認呢個工序好緊要-電腦模擬嘅方法曾經受唔少人抨擊,覺得呢啲模型傾向<a href="/wiki/%E6%8A%BD%E8%B1%A1%E5%8C%96" title="抽象化">抽象化</a>得滯,而成功噉確認一個電腦模擬模型<sup id="cite_ref-95" class="reference"><a href="#cite_note-95"><span class="cite-bracket">&#91;</span>註 13<span class="cite-bracket">&#93;</span></a></sup>反映嗰個模型能夠描述現實,令個模型唔淨只係流於理論<sup id="cite_ref-96" class="reference"><a href="#cite_note-96"><span class="cite-bracket">&#91;</span>60<span class="cite-bracket">&#93;</span></a></sup>。</li></ul></li></ul> <div style="clear: both;"></div> <div class="mw-heading mw-heading2"><h2 id="創發嘅啟示"><span id=".E5.89.B5.E7.99.BC.E5.98.85.E5.95.9F.E7.A4.BA"></span>創發嘅啟示</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=14" title="編輯小節: 創發嘅啟示"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div role="note" class="hatnote">内文:<a href="/wiki/%E5%89%B5%E7%99%BC" title="創發">創發</a>同<a href="/wiki/%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1" title="複雜系統">複雜系統</a></div> <div role="note" class="hatnote">睇埋:<a href="/wiki/%E8%87%AA%E7%84%B6%E5%BD%A2%E6%85%8B%E8%A6%8F%E5%BE%8B" title="自然形態規律">自然形態規律</a></div> <p>有<a href="/wiki/%E5%93%B2%E5%AD%B8%E5%AE%B6" title="哲學家">哲學家</a>指出,電腦模擬對理解<a href="/wiki/%E5%89%B5%E7%99%BC" title="創發">創發</a><sup id="cite_ref-97" class="reference"><a href="#cite_note-97"><span class="cite-bracket">&#91;</span>e 24<span class="cite-bracket">&#93;</span></a></sup>嘅現象嚟講至關重要<sup id="cite_ref-humphreys2004_98-0" class="reference"><a href="#cite_note-humphreys2004-98"><span class="cite-bracket">&#91;</span>61<span class="cite-bracket">&#93;</span></a></sup>。創發係一種現象,指一樣由好多唔同部份組成嘅事物具有一啲佢組成部份冇嘅特性。好似係<a href="/wiki/%E6%B0%B4" title="水">水</a>噉,水喺<a href="/wiki/%E5%8C%96%E5%AD%B8" title="化學">化學</a>上由<a href="/wiki/%E6%B0%AB" title="氫">氫</a>同<a href="/wiki/%E6%B0%A7" title="氧">氧</a>呢兩種<a href="/wiki/%E5%8C%96%E5%AD%B8%E5%85%83%E7%B4%A0" class="mw-redirect" title="化學元素">化學元素</a>組成嘅,水喺正常<a href="/wiki/%E6%BA%AB%E5%BA%A6" title="溫度">溫度</a>同<a href="/wiki/%E5%A3%93%E5%8A%9B" title="壓力">壓力</a>下處於<a href="/wiki/%E6%B6%B2%E9%AB%94" title="液體">液體</a>狀態,而呢種特性係氫同氧都冇嘅(氫同氧喺正常溫度壓力下會呈<a href="/wiki/%E6%B0%A3%E9%AB%94" title="氣體">氣體</a>狀態)-水具有最少一樣「氫同氧唔具有嘅特性」(創發出嚟嗰樣特性);又或者好似係一個<a href="/wiki/%E4%BA%BA" title="人">人</a>噉,一個正常健康嘅人識<a href="/wiki/%E8%A1%8C%E8%B7%AF" title="行路">行路</a>識<a href="/wiki/%E6%80%9D%E8%80%83" class="mw-redirect" title="思考">思考</a>,而呢啲嘢都係組成人類身體嘅個別<a href="/wiki/%E7%B4%B0%E8%83%9E" title="細胞">細胞</a>唔能夠獨力做到嘅<sup id="cite_ref-99" class="reference"><a href="#cite_note-99"><span class="cite-bracket">&#91;</span>62<span class="cite-bracket">&#93;</span></a></sup>;創發仲可以分做兩種-<a href="/wiki/%E5%BC%B1%E5%89%B5%E7%99%BC" class="mw-redirect" title="弱創發">弱創發</a>同<a href="/wiki/%E5%BC%B7%E5%89%B5%E7%99%BC" class="mw-redirect" title="強創發">強創發</a>,弱創發係指創發出嚟嗰樣特性係可以由啲組成部份嘅特性解釋嘅,而強創發係指創發出嚟嗰樣特性係<b>冇得</b>由啲組成部份嘅特性嚟解釋<sup id="cite_ref-100" class="reference"><a href="#cite_note-100"><span class="cite-bracket">&#91;</span>註 14<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-101" class="reference"><a href="#cite_note-101"><span class="cite-bracket">&#91;</span>63<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div style="clear: both;"></div> <ul class="gallery mw-gallery-traditional center"> <li class="gallerybox" style="width: 435px"> <div class="thumb" style="width: 430px; height: 330px;"><span typeof="mw:File"><a href="/wiki/File:ComputerHotline_-_Snow_crystals_(by).jpg" class="mw-file-description" title="水分子曉變成雪花,呢樣嘢氫同氧做唔到。"><img alt="水分子曉變成雪花,呢樣嘢氫同氧做唔到。" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a5/ComputerHotline_-_Snow_crystals_%28by%29.jpg/391px-ComputerHotline_-_Snow_crystals_%28by%29.jpg" decoding="async" width="391" height="300" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a5/ComputerHotline_-_Snow_crystals_%28by%29.jpg/587px-ComputerHotline_-_Snow_crystals_%28by%29.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a5/ComputerHotline_-_Snow_crystals_%28by%29.jpg/782px-ComputerHotline_-_Snow_crystals_%28by%29.jpg 2x" data-file-width="3181" data-file-height="2441" /></a></span></div> <div class="gallerytext"><center><a href="/wiki/%E6%B0%B4" title="水">水</a><a href="/wiki/%E5%88%86%E5%AD%90" title="分子">分子</a>曉變成<a href="/wiki/%E9%9B%AA%E8%8A%B1" title="雪花">雪花</a>,呢樣嘢氫同氧做唔到。</center></div> </li> </ul> <p>呢啲哲學家主張,電腦模擬嘅技術好幫到手理解弱創發嘅現象:研究者可以將一個預想中嘅系統寫做一個電腦模擬程式,個程式曉做(人手計唔嚟嘅)「<a href="/wiki/Foreach" class="mw-redirect" title="Foreach">foreach</a> 組成部份,做噉噉噉嘅運算」;而事實係,會用得電腦模擬嘅,好多時都係因為研究緊嗰樣現象有返咁上下<a href="/wiki/%E8%A4%87%E9%9B%9C" title="複雜">複雜</a>,齋靠用個<a href="/wiki/%E4%BA%BA%E8%85%A6" title="人腦">人腦</a>諗唔能夠<a href="/wiki/%E6%83%B3%E5%83%8F" title="想像">想像</a>到個系統會出現乜嘢特性;不過假設個模型係掂嘅,個研究者跟住就有得靠住個模型,睇到個整體系統會出現啲乜嘢特性-包括係個系統有冇啲柞組成部份冇嘅特性,從而攞到一啲冇電腦模擬就攞唔到、有關弱創發嘅資訊<sup id="cite_ref-102" class="reference"><a href="#cite_note-102"><span class="cite-bracket">&#91;</span>64<span class="cite-bracket">&#93;</span></a></sup>。 </p> <div style="clear: both;"></div> <div class="mw-heading mw-heading2"><h2 id="註釋"><span id=".E8.A8.BB.E9.87.8B"></span>註釋</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=15" title="編輯小節: 註釋"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r2020813">.mw-parser-output .reflist{font-size:90%;margin-bottom:0.5em;list-style-type:decimal}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist reflist-columns references-column-width reflist-columns-3"> <ol class="references"> <li id="cite_note-9"><span class="mw-cite-backlink"><a href="#cite_ref-9">↑</a></span> <span class="reference-text"><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle G}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>G</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle G}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/f5f3c8921a3b352de45446a6789b104458c9f90b" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.827ex; height:2.176ex;" alt="{\displaystyle G}"></span> 係一個<a href="/wiki/%E5%B8%B8%E6%95%B8" title="常數">常數</a>,數值係 6.674×10<sup>−11</sup>&#160;N&#8201;<b>•</b>&#8201;(m/kg)<sup>2</sup>。</span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><a href="#cite_ref-18">↑</a></span> <span class="reference-text">喺某啲電腦模擬當中,逐步升嘅唔係時間 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span>,而係第個變數。</span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><a href="#cite_ref-19">↑</a></span> <span class="reference-text">技術化啲講,電腦模擬嘅過程會涉及<a href="/wiki/%E9%9B%A2%E6%95%A3%E5%8C%96" title="離散化">離散化</a>-假想時間係<a href="/wiki/%E9%80%A3%E7%BA%8C%E8%AE%8A%E6%95%B8" class="mw-redirect" title="連續變數">連續</a>嘅,好似上述噉嘅電腦模擬實會將 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 想像成一個<a href="/wiki/%E9%9B%A2%E6%95%A3%E8%AE%8A%E6%95%B8" class="mw-redirect" title="離散變數">離散變數</a>。</span> </li> <li id="cite_note-20"><span class="mw-cite-backlink"><a href="#cite_ref-20">↑</a></span> <span class="reference-text">以下呢啲類型有好多都唔係<a href="/wiki/%E4%BA%92%E6%96%A5" title="互斥">互斥</a>嘅,一個電腦模擬程式有可能同時屬於多過一個類別。例如<a href="/wiki/%E9%9A%A8%E6%A9%9F%E7%B3%BB%E7%B5%B1" class="mw-redirect" title="隨機系統">隨機</a>同<a href="/wiki/%E6%B1%BA%E5%AE%9A%E6%80%A7%E7%B3%BB%E7%B5%B1" class="mw-redirect" title="決定性系統">決定</a>之間<a href="/wiki/%E5%AE%9A%E7%BE%A9" title="定義">定義</a>上就係互斥嘅,但隨機同<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本</a>呢兩個類別唔互斥。</span> </li> <li id="cite_note-37"><span class="mw-cite-backlink"><a href="#cite_ref-37">↑</a></span> <span class="reference-text">呢個模型冇隨機,所以屬決定性模型。</span> </li> <li id="cite_note-41"><span class="mw-cite-backlink"><a href="#cite_ref-41">↑</a></span> <span class="reference-text">呢點令佢哋同物理學上研究嘅<a href="/wiki/%E7%B2%92%E5%AD%90" title="粒子">粒子</a>唔同-同一個種類嘅粒子粒粒都一個板,但同一個<a href="/wiki/%E7%89%A9%E7%A8%AE" title="物種">物種</a>嘅唔同個體可以有唔同<a href="/wiki/%E6%80%A7%E6%A0%BC" title="性格">性格</a>。</span> </li> <li id="cite_note-43"><span class="mw-cite-backlink"><a href="#cite_ref-43">↑</a></span> <span class="reference-text">即係話設 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \mathbf {s} _{t}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="bold">s</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mi>t</mi> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \mathbf {s} _{t}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/3ed04541609bb507fa23518d151dfd7ab25990f7" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.882ex; height:2.009ex;" alt="{\displaystyle \mathbf {s} _{t}}"></span> 表示「時間點 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mi>t</mi> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/65658b7b223af9e1acc877d848888ecdb4466560" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:0.84ex; height:2.009ex;" alt="{\displaystyle t}"></span> 嘅 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \mathbf {s} }"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="bold">s</mi> </mrow> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \mathbf {s} }</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/644ae690160e658898a141e568a7fb0ee6040004" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.338ex; width:1.056ex; height:1.676ex;" alt="{\displaystyle \mathbf {s} }"></span>」,如果 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t_{1}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t_{1}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/cb0768c0bd659f2f84fb5ef9f4b74f336123d915" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.894ex; height:2.343ex;" alt="{\displaystyle t_{1}}"></span> 同 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle t_{2}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle t_{2}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/749fee708b41e7079eabd50d61c8bf3e965db16f" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -0.671ex; width:1.894ex; height:2.343ex;" alt="{\displaystyle t_{2}}"></span> 之間冇事件發生,噉 <span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML" alttext="{\displaystyle \mathbf {s} _{t_{1}}=\mathbf {s} _{t_{2}}}"> <semantics> <mrow class="MJX-TeXAtom-ORD"> <mstyle displaystyle="true" scriptlevel="0"> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="bold">s</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>1</mn> </mrow> </msub> </mrow> </msub> <mo>=</mo> <msub> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="bold">s</mi> </mrow> <mrow class="MJX-TeXAtom-ORD"> <msub> <mi>t</mi> <mrow class="MJX-TeXAtom-ORD"> <mn>2</mn> </mrow> </msub> </mrow> </msub> </mstyle> </mrow> <annotation encoding="application/x-tex">{\displaystyle \mathbf {s} _{t_{1}}=\mathbf {s} _{t_{2}}}</annotation> </semantics> </math></span><img src="https://wikimedia.org/api/rest_v1/media/math/render/svg/52875409f033ac273e4d5044dc0d81a08f4c7b55" class="mwe-math-fallback-image-inline mw-invert skin-invert" aria-hidden="true" style="vertical-align: -1.005ex; width:8.525ex; height:2.343ex;" alt="{\displaystyle \mathbf {s} _{t_{1}}=\mathbf {s} _{t_{2}}}"></span>。</span> </li> <li id="cite_note-47"><span class="mw-cite-backlink"><a href="#cite_ref-47">↑</a></span> <span class="reference-text">會輸出一個列表,列嗮啲數值出嚟。</span> </li> <li id="cite_note-52"><span class="mw-cite-backlink"><a href="#cite_ref-52">↑</a></span> <span class="reference-text"><a href="/wiki/%E5%88%9D%E5%A7%8B%E5%8C%96" title="初始化">初始化</a>嗰部份省略咗。</span> </li> <li id="cite_note-58"><span class="mw-cite-backlink"><a href="#cite_ref-58">↑</a></span> <span class="reference-text">會涉及「<a href="/wiki/Foreach" class="mw-redirect" title="Foreach">foreach</a> 時間點」噉嘅運算,用人手計會好撈絞。</span> </li> <li id="cite_note-83"><span class="mw-cite-backlink"><a href="#cite_ref-83">↑</a></span> <span class="reference-text">不過工程學都有分好多門,例如<a href="/wiki/%E5%8C%96%E5%AD%B8%E5%B7%A5%E7%A8%8B" title="化學工程">化學工程</a>就會用多啲<a href="/wiki/%E5%8C%96%E5%AD%B8" title="化學">化學</a>知識。</span> </li> <li id="cite_note-94"><span class="mw-cite-backlink"><a href="#cite_ref-94">↑</a></span> <span class="reference-text">有人因此而批評,話「驗證」嘅概念根本冇用-研究者想用電腦模擬通常就正正係因為個問題用解析解搞唔掂。</span> </li> <li id="cite_note-95"><span class="mw-cite-backlink"><a href="#cite_ref-95">↑</a></span> <span class="reference-text">再配合埋<a href="/wiki/%E5%AF%A6%E9%A9%97" title="實驗">實驗</a>攞到嘅<a href="/wiki/%E6%95%B8%E6%93%9A" title="數據">數據</a>。</span> </li> <li id="cite_note-100"><span class="mw-cite-backlink"><a href="#cite_ref-100">↑</a></span> <span class="reference-text">不過都有學者覺得呢種分法係多餘。</span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="睇埋"><span id=".E7.9D.87.E5.9F.8B"></span>睇埋</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=16" title="編輯小節: 睇埋"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="div-col columns column-count column-count-2" style="-moz-column-count: 2; -webkit-column-count: 2; column-count: 2; column-count:3"> <ul><li><a href="/wiki/Foreach" class="mw-redirect" title="Foreach">Foreach</a></li> <li><a href="/wiki/%E6%A8%A1%E6%93%AC%E5%99%A8" title="模擬器">模擬器</a></li> <li><a href="/wiki/%E8%B3%87%E8%A8%8A%E5%8F%AF%E8%A6%96%E5%8C%96" title="資訊可視化">資訊可視化</a></li> <li><a href="/wiki/%E6%A0%BC%E4%BB%94%E8%87%AA%E5%8B%95%E6%A9%9F" title="格仔自動機">格仔自動機</a></li> <li><a href="/wiki/%E9%9B%A2%E6%95%A3%E5%8C%96" title="離散化">離散化</a></li> <li><a href="/wiki/%E6%99%82%E9%96%93%E5%BA%8F%E5%88%97" title="時間序列">時間序列</a></li> <li><a href="/wiki/%E9%81%8B%E7%AE%97%E7%90%86%E8%AB%96" title="運算理論">運算理論</a></li> <li><a href="/wiki/%E7%B5%B1%E8%A8%88%E6%A8%A1%E5%9E%8B" title="統計模型">統計模型</a></li> <li><a href="/wiki/%E6%80%9D%E6%83%B3%E5%AF%A6%E9%A9%97" title="思想實驗">思想實驗</a></li> <li><a href="/wiki/%E6%83%85%E6%99%AF%E8%A8%88%E5%8A%83" title="情景計劃">情景計劃</a></li> <li><a href="/wiki/%E9%81%8A%E6%88%B2%E7%89%A9%E7%90%86" title="遊戲物理">遊戲物理</a></li> <li><a href="/wiki/%E9%9B%BB%E5%AD%90%E9%81%8A%E6%88%B2" title="電子遊戲">電子遊戲</a></li> <li><a href="/wiki/%E6%A8%A1%E6%93%AC%E9%81%8A%E6%88%B2" title="模擬遊戲">模擬遊戲</a></li></ul> </div> <div class="mw-heading mw-heading2"><h2 id="文獻"><span id=".E6.96.87.E7.8D.BB"></span>文獻</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=17" title="編輯小節: 文獻"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="div-col columns column-count column-count-2" style="-moz-column-count: 2; -webkit-column-count: 2; column-count: 2; font-size:90%; column-count:3"> <ul><li>Desa, W. L. H. M., Kamaruddin, S., &amp; Nawawi, M. K. M. (2012). <a rel="nofollow" class="external text" href="https://www.scientific.net/AMR.591-593.557.pdf">Modeling of aircraft composite parts using simulation</a> (PDF). In Advanced Materials Research (Vol. 591, pp. 557-560). Trans Tech Publications Ltd.</li> <li>Hartmann, S. (1996). <a rel="nofollow" class="external text" href="https://sas-space.sas.ac.uk/1087/1/S_Hartmann_Simulations.pdf">The world as a process</a> (PDF). In <i>Modelling and simulation in the social sciences from the philosophy of science point of view</i> (pp. 77-100). Springer, Dordrecht.</li> <li>Humphreys, P. (2004). <i>Extending ourselves: Computational science, empiricism, and scientific method</i>. Oxford University Press.</li> <li>Kaizer, J. S., Heller, A. K., &amp; Oberkampf, W. L. (2015). <a rel="nofollow" class="external text" href="https://reader.elsevier.com/reader/sd/pii/S0951832015000307?token=199F2FEDBF6AE2B9F0602DB9944715F866AA9961FFFAAB1D692E89684F0ADC5A6BC6DB54DA2E386D48B298772306893A">Scientific computer simulation review</a> (PDF). <i>Reliability Engineering &amp; System Safety</i>, 138, 210-218.</li> <li>Macal, C. M., &amp; North, M. J. (2008, December). <a rel="nofollow" class="external text" href="https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4736060">Agent-based modeling and simulation: ABMS examples</a> (PDF). In <i>2008 Winter Simulation Conference</i> (pp. 101-112). IEEE.</li> <li>McClelland, J. L. (2009). <a rel="nofollow" class="external text" href="https://onlinelibrary.wiley.com/doi/pdfdirect/10.1111/j.1756-8765.2008.01003.x">The place of modeling in cognitive science</a> (PDF). <i>Topics in Cognitive Science</i>, 1(1), 11-38.</li> <li>Nutaro, J. J. (2011). <a rel="nofollow" class="external text" href="http://www.r-5.org/files/books/computers/algo-list/test-dev/James_J_Nutaro-Building_Software_for_Simulation-EN.pdf"><i>Building software for simulation: Theory and algorithms, with application in C++</i></a> (PDF). John Wiley &amp; Sons Ltd.</li> <li>Schelling, T. C., (1971). "<a rel="nofollow" class="external text" href="https://www.tandfonline.com/doi/pdf/10.1080/0022250X.1971.9989794">Dynamic Models of Segregation</a> (PDF)," <i>Journal of Mathematical Sociology</i>, 1: 143–186.</li> <li>Winsberg, E. (2003). <a rel="nofollow" class="external text" href="https://www.journals.uchicago.edu/doi/pdf/10.1086/367872">Simulated experiments: Methodology for a virtual world</a> (PDF). <i>Philosophy of science</i>, 70(1), 105-125.</li></ul> </div> <div class="mw-heading mw-heading2"><h2 id="引述"><span id=".E5.BC.95.E8.BF.B0"></span>引述</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=18" title="編輯小節: 引述"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>篇文用咗嘅<a href="/wiki/%E8%A1%8C%E8%A9%B1" title="行話">行話</a>,<a href="/wiki/%E8%8B%B1%E6%96%87" title="英文">英文</a>名如下: </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2020813"><div class="reflist reflist-columns references-column-width reflist-columns-3"> <ol class="references"> <li id="cite_note-11"><span class="mw-cite-backlink"><a href="#cite_ref-11">↑</a></span> <span class="reference-text">scientific method</span> </li> <li id="cite_note-21"><span class="mw-cite-backlink"><a href="#cite_ref-21">↑</a></span> <span class="reference-text">stochastic</span> </li> <li id="cite_note-22"><span class="mw-cite-backlink"><a href="#cite_ref-22">↑</a></span> <span class="reference-text">deterministic</span> </li> <li id="cite_note-24"><span class="mw-cite-backlink"><a href="#cite_ref-24">↑</a></span> <span class="reference-text">Monte Carlo method</span> </li> <li id="cite_note-28"><span class="mw-cite-backlink"><a href="#cite_ref-28">↑</a></span> <span class="reference-text">domain</span> </li> <li id="cite_note-29"><span class="mw-cite-backlink"><a href="#cite_ref-29">↑</a></span> <span class="reference-text">probability distribution</span> </li> <li id="cite_note-30"><span class="mw-cite-backlink"><a href="#cite_ref-30">↑</a></span> <span class="reference-text">aggregate data</span> </li> <li id="cite_note-31"><span class="mw-cite-backlink"><a href="#cite_ref-31">↑</a></span> <span class="reference-text">uniform distribution</span> </li> <li id="cite_note-34"><span class="mw-cite-backlink"><a href="#cite_ref-34">↑</a></span> <span class="reference-text">equation-based</span> </li> <li id="cite_note-35"><span class="mw-cite-backlink"><a href="#cite_ref-35">↑</a></span> <span class="reference-text">agent-based</span> </li> <li id="cite_note-42"><span class="mw-cite-backlink"><a href="#cite_ref-42">↑</a></span> <span class="reference-text">discrete event simulation,DES</span> </li> <li id="cite_note-45"><span class="mw-cite-backlink"><a href="#cite_ref-45">↑</a></span> <span class="reference-text">multiscale modeling</span> </li> <li id="cite_note-49"><span class="mw-cite-backlink"><a href="#cite_ref-49">↑</a></span> <span class="reference-text">physics engine</span> </li> <li id="cite_note-51"><span class="mw-cite-backlink"><a href="#cite_ref-51">↑</a></span> <span class="reference-text">Newtonian mechanics</span> </li> <li id="cite_note-56"><span class="mw-cite-backlink"><a href="#cite_ref-56">↑</a></span> <span class="reference-text">Lotka-Volterra model</span> </li> <li id="cite_note-61"><span class="mw-cite-backlink"><a href="#cite_ref-61">↑</a></span> <span class="reference-text">artificial neural network</span> </li> <li id="cite_note-64"><span class="mw-cite-backlink"><a href="#cite_ref-64">↑</a></span> <span class="reference-text">activation level</span> </li> <li id="cite_note-71"><span class="mw-cite-backlink"><a href="#cite_ref-71">↑</a></span> <span class="reference-text">connectionism</span> </li> <li id="cite_note-76"><span class="mw-cite-backlink"><a href="#cite_ref-76">↑</a></span> <span class="reference-text">game theory</span> </li> <li id="cite_note-77"><span class="mw-cite-backlink"><a href="#cite_ref-77">↑</a></span> <span class="reference-text">iterated prisoner's dilemma</span> </li> <li id="cite_note-85"><span class="mw-cite-backlink"><a href="#cite_ref-85">↑</a></span> <span class="reference-text">structural analysis</span> </li> <li id="cite_note-90"><span class="mw-cite-backlink"><a href="#cite_ref-90">↑</a></span> <span class="reference-text">verification</span> </li> <li id="cite_note-91"><span class="mw-cite-backlink"><a href="#cite_ref-91">↑</a></span> <span class="reference-text">validation</span> </li> <li id="cite_note-97"><span class="mw-cite-backlink"><a href="#cite_ref-97">↑</a></span> <span class="reference-text">emergence</span> </li> </ol></div> <p>篇文引用咗以下呢啲<a href="/wiki/%E6%96%87%E7%8D%BB" title="文獻">文獻</a>同<a href="/wiki/%E7%B6%B2%E9%A0%81" title="網頁">網頁</a>: </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r2020813"><div class="reflist reflist-columns references-column-width reflist-columns-3"> <ol class="references"> <li id="cite_note-strogatz2007-1"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-strogatz2007_1-0">1.0</a></sup> <sup><a href="#cite_ref-strogatz2007_1-1">1.1</a></sup></span> <span class="reference-text">Strogatz, Steven (2007). "The End of Insight". In Brockman, John (ed.). <i>What is your dangerous idea?</i>. HarperCollins.</span> </li> <li id="cite_note-basicode-2"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-basicode_2-0">2.0</a></sup> <sup><a href="#cite_ref-basicode_2-1">2.1</a></sup></span> <span class="reference-text">Donald Craig (1996). <a rel="nofollow" class="external text" href="http://www.cs.mun.ca/~donald/msc/node69.html">The Simulation Algorithm</a>.</span> </li> <li id="cite_note-reynolds1987-3"><span class="mw-cite-backlink"><a href="#cite_ref-reynolds1987_3-0">↑</a></span> <span class="reference-text">Reynolds, Craig W. (1987). "Flocks, herds and schools: A distributed behavioral model.". <i>ACM SIGGRAPH Computer Graphics</i>. 21. pp. 25–34.</span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a></span> <span class="reference-text">Thijssen, J. (2007). <i>Computational physics</i>. Cambridge university press.</span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><a href="#cite_ref-5">↑</a></span> <span class="reference-text">Lewars, E. (2003). Computational chemistry. <i>Introduction to the theory and applications of molecular and quantum mechanics</i>, 318.</span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><a href="#cite_ref-6">↑</a></span> <span class="reference-text">Banzhaf, W., &amp; Eckman, F. H. (1995). <i>Evolution and biocomputation: computational models of evolution</i> (Vol. 899). Springer Science &amp; Business Media.</span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><a href="#cite_ref-7">↑</a></span> <span class="reference-text">Macy, M. W., &amp; Skvoretz, J. (1998). The evolution of trust and cooperation between strangers: A computational model. <i>American Sociological Review</i>, 638-660.</span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><a href="#cite_ref-8">↑</a></span> <span class="reference-text">Huff, G. H., Feng, J., Zhang, S., Cung, G., &amp; Bernhard, J. T. (2004). Directional reconfigurable antennas on laptop computers: Simulation, measurement and evaluation of candidate integration positions. <i>IEEE Transactions on Antennas and Propagation</i>, 52(12), 3220-3227.</span> </li> <li id="cite_note-10"><span class="mw-cite-backlink"><a href="#cite_ref-10">↑</a></span> <span class="reference-text">Mohr, Peter J.; Taylor, Barry N.; Newell, David B. (2008). "CODATA Recommended Values of the Fundamental Physical Constants: 2006". <i>Reviews of Modern Physics</i>. 80 (2): 633–730.</span> </li> <li id="cite_note-12"><span class="mw-cite-backlink"><a href="#cite_ref-12">↑</a></span> <span class="reference-text">Curd, M., &amp; Cover, J. A. (1998). <i>Philosophy of science: The central issues</i>. C. Pincock (Ed.). New York: WW Norton.</span> </li> <li id="cite_note-13"><span class="mw-cite-backlink"><a href="#cite_ref-13">↑</a></span> <span class="reference-text">Godfrey-Smith 2003, Chapter 14: "<i>Bayesianism and Modern Theories of Evidence</i>".</span> </li> <li id="cite_note-mcclelland2009-14"><span class="mw-cite-backlink"><a href="#cite_ref-mcclelland2009_14-0">↑</a></span> <span class="reference-text">McClelland, J. L. (2009). <a rel="nofollow" class="external text" href="https://onlinelibrary.wiley.com/doi/pdfdirect/10.1111/j.1756-8765.2008.01003.x">The place of modeling in cognitive science</a> (PDF). <i>Topics in Cognitive Science</i>, 1(1), 11-38.</span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><a href="#cite_ref-15">↑</a></span> <span class="reference-text">Winsberg, E. (2001). <a rel="nofollow" class="external text" href="https://www.jstor.org/stable/pdf/3080964.pdf">Simulations, models, and theories: Complex physical systems and their representations</a> (PDF). <i>Philosophy of Science</i>, 68(S3), S442-S454.</span> </li> <li id="cite_note-winsberg2003-16"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-winsberg2003_16-0">14.0</a></sup> <sup><a href="#cite_ref-winsberg2003_16-1">14.1</a></sup></span> <span class="reference-text">Winsberg, E. (2003). <a rel="nofollow" class="external text" href="https://www.journals.uchicago.edu/doi/pdf/10.1086/367872">Simulated experiments: Methodology for a virtual world</a> (PDF). <i>Philosophy of science</i>, 70(1), 105-125.</span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><a href="#cite_ref-17">↑</a></span> <span class="reference-text">Bratley, Paul; Fox, Bennet L.; Schrage, Linus E. (2011-06-28). <i>A Guide to Simulation</i>. Springer Science &amp; Business Media.</span> </li> <li id="cite_note-23"><span class="mw-cite-backlink"><a href="#cite_ref-23">↑</a></span> <span class="reference-text">Pinsky, M., &amp; Karlin, S. (2010). <i>An introduction to stochastic modeling</i>. Academic press.</span> </li> <li id="cite_note-kroese2014-25"><span class="mw-cite-backlink"><a href="#cite_ref-kroese2014_25-0">↑</a></span> <span class="reference-text">Kroese, D. P.; Brereton, T.; Taimre, T.; Botev, Z. I. (2014). "Why the Monte Carlo method is so important today". <i>WIREs Comput Stat</i>. 6 (6): 386–392.</span> </li> <li id="cite_note-kalos2008-26"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-kalos2008_26-0">18.0</a></sup> <sup><a href="#cite_ref-kalos2008_26-1">18.1</a></sup></span> <span class="reference-text">Kalos, Malvin H.; Whitlock, Paula A. (2008). <i>Monte Carlo Methods</i>. Wiley-VCH.</span> </li> <li id="cite_note-27"><span class="mw-cite-backlink"><a href="#cite_ref-27">↑</a></span> <span class="reference-text">Abramson, B. (2014). <i>The expected-outcome model of two-player games</i>. Morgan Kaufmann.</span> </li> <li id="cite_note-32"><span class="mw-cite-backlink"><a href="#cite_ref-32">↑</a></span> <span class="reference-text">Wolfgang Ertel; Johann Schumann; Christian Suttner (1989). "Learning Heuristics for a Theorem Prover using Back Propagation.". In J. Retti; K. Leidlmair (eds.). <i>5. Österreichische Artificial-Intelligence-Tagung. Informatik-Fachberichte 208</i>,pp. 87-95. Springer.</span> </li> <li id="cite_note-33"><span class="mw-cite-backlink"><a href="#cite_ref-33">↑</a></span> <span class="reference-text">Suttner, C., &amp; Ertel, W. (1990, July). Automatic acquisition of search guiding heuristics. In <i>International Conference on Automated Deduction</i> (pp. 470-484). Springer, Berlin, Heidelberg.</span> </li> <li id="cite_note-gaffer-36"><span class="mw-cite-backlink"><a href="#cite_ref-gaffer_36-0">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://gafferongames.com/post/integration_basics/">Integration Basics: How to integrate the equations of motion</a> <a href="/wiki/Wayback_Machine" title="Wayback Machine">互聯網檔案館</a>嘅<a rel="nofollow" class="external text" href="https://web.archive.org/web/20181026014534/https://gafferongames.com/post/integration_basics/">歸檔</a>,歸檔日期2018年10月26號,.. <i>Gaffer on Games</i>.</span> </li> <li id="cite_note-38"><span class="mw-cite-backlink"><a href="#cite_ref-38">↑</a></span> <span class="reference-text">Parker, W. S. (2008). <a rel="nofollow" class="external text" href="https://www.tandfonline.com/doi/pdf/10.1080/02698590802496722">Franklin, Holmes, and the epistemology of computer simulation</a> <a href="/wiki/Wayback_Machine" title="Wayback Machine">互聯網檔案館</a>嘅<a rel="nofollow" class="external text" href="https://web.archive.org/web/20210609041003/https://www.tandfonline.com/doi/pdf/10.1080/02698590802496722">歸檔</a>,歸檔日期2021年6月9號,. (PDF). <i>International Studies in the Philosophy of Science</i>, 22(2), 165-183.</span> </li> <li id="cite_note-39"><span class="mw-cite-backlink"><a href="#cite_ref-39">↑</a></span> <span class="reference-text">Shoham, Yoav; Leyton-Brown, Kevin (2009). <i>Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations</i>. Cambridge University Press.</span> </li> <li id="cite_note-40"><span class="mw-cite-backlink"><a href="#cite_ref-40">↑</a></span> <span class="reference-text">Schelling, T. C., (1971). "<a rel="nofollow" class="external text" href="https://www.tandfonline.com/doi/pdf/10.1080/0022250X.1971.9989794">Dynamic Models of Segregation</a> <a href="/wiki/Wayback_Machine" title="Wayback Machine">互聯網檔案館</a>嘅<a rel="nofollow" class="external text" href="https://web.archive.org/web/20210605072332/https://www.tandfonline.com/doi/pdf/10.1080/0022250X.1971.9989794">歸檔</a>,歸檔日期2021年6月5號,. (PDF)," <i>Journal of Mathematical Sociology</i>, 1: 143–186.</span> </li> <li id="cite_note-44"><span class="mw-cite-backlink"><a href="#cite_ref-44">↑</a></span> <span class="reference-text">Robinson, S. (2014). <i>Simulation: the practice of model development and use</i>. Palgrave Macmillan.</span> </li> <li id="cite_note-46"><span class="mw-cite-backlink"><a href="#cite_ref-46">↑</a></span> <span class="reference-text">Luo, X., &amp; Qin, Y. (2018). <i>Hybrid machining: theory, methods, and case studies</i>. Academic Press.</span> </li> <li id="cite_note-48"><span class="mw-cite-backlink"><a href="#cite_ref-48">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://www.myphysicslab.com/explain/numerical-solution-en.html">Numerical Solution of Differential Equations</a>.</span> </li> <li id="cite_note-50"><span class="mw-cite-backlink"><a href="#cite_ref-50">↑</a></span> <span class="reference-text">Millington, I. (2007). <i>Game physics engine development</i>. CRC Press.</span> </li> <li id="cite_note-53"><span class="mw-cite-backlink"><a href="#cite_ref-53">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://www.toptal.com/game/video-game-physics-part-i-an-introduction-to-rigid-body-dynamics">Video Game Physics Tutorial - Part I: An Introduction to Rigid Body Dynamics</a>. <i>Developers</i>.</span> </li> <li id="cite_note-54"><span class="mw-cite-backlink"><a href="#cite_ref-54">↑</a></span> <span class="reference-text">McLane, A. J., Semeniuk, C., McDermid, G. J., &amp; Marceau, D. J. (2011). The role of agent-based models in wildlife ecology and management. <i>Ecological Modelling</i>, 222(8), 1544-1556.</span> </li> <li id="cite_note-55"><span class="mw-cite-backlink"><a href="#cite_ref-55">↑</a></span> <span class="reference-text">Vincenot, C. E., Giannino, F., Rietkerk, M., Moriya, K., &amp; Mazzoleni, S. (2011). Theoretical considerations on the combined use of System Dynamics and individual-based modeling in ecology. <i>Ecological Modelling</i>, 222(1), 210-218.</span> </li> <li id="cite_note-brauer2012-57"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-brauer2012_57-0">33.0</a></sup> <sup><a href="#cite_ref-brauer2012_57-1">33.1</a></sup></span> <span class="reference-text">Brauer, F., Castillo-Chavez, C., &amp; Castillo-Chavez, C. (2012). <i>Mathematical models in population biology and epidemiology</i> (Vol. 2, p. 508). New York: Springer.</span> </li> <li id="cite_note-59"><span class="mw-cite-backlink"><a href="#cite_ref-59">↑</a></span> <span class="reference-text">Simon, H. (1991). <i>Models of my life</i>. New York: Basic Books.</span> </li> <li id="cite_note-60"><span class="mw-cite-backlink"><a href="#cite_ref-60">↑</a></span> <span class="reference-text">Rosenblatt, F. (1961). <i>Principles of neurodynamics</i>. Washington, D.C.: Spartan Books.</span> </li> <li id="cite_note-62"><span class="mw-cite-backlink"><a href="#cite_ref-62">↑</a></span> <span class="reference-text">"<a rel="nofollow" class="external text" href="https://www.frontiersin.org/research-topics/4817/artificial-neural-networks-as-models-of-neural-information-processing">Artificial Neural Networks as Models of Neural Information Processing | Frontiers Research Topic</a>". Retrieved 2018-02-20.</span> </li> <li id="cite_note-63"><span class="mw-cite-backlink"><a href="#cite_ref-63">↑</a></span> <span class="reference-text">Herz, A. V., Gollisch, T., Machens, C. K., &amp; Jaeger, D. (2006). Modeling single-neuron dynamics and computations: a balance of detail and abstraction. <i>Science</i>, 314(5796), 80-85.</span> </li> <li id="cite_note-65"><span class="mw-cite-backlink"><a href="#cite_ref-65">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="http://www.cse.unsw.edu.au/~billw/mldict.html#activation">The Machine Learning Dictionary - activation level</a> <a href="/wiki/Wayback_Machine" title="Wayback Machine">互聯網檔案館</a>嘅<a rel="nofollow" class="external text" href="https://web.archive.org/web/20180826151959/http://www.cse.unsw.edu.au/~billw/mldict.html#activation">歸檔</a>,歸檔日期2018年8月26號,..</span> </li> <li id="cite_note-66"><span class="mw-cite-backlink"><a href="#cite_ref-66">↑</a></span> <span class="reference-text">Tahmasebi; Hezarkhani (2012). "A hybrid neural networks-fuzzy logic-genetic algorithm for grade estimation". <i>Computers &amp; Geosciences</i>. 42: 18–27</span> </li> <li id="cite_note-67"><span class="mw-cite-backlink"><a href="#cite_ref-67">↑</a></span> <span class="reference-text">Ivakhnenko, A. G.; Grigorʹevich Lapa, Valentin (1967). <i>Cybernetics and forecasting techniques</i>. American Elsevier Pub. Co.</span> </li> <li id="cite_note-68"><span class="mw-cite-backlink"><a href="#cite_ref-68">↑</a></span> <span class="reference-text">"<a rel="nofollow" class="external text" href="https://www.frontiersin.org/research-topics/4817/artificial-neural-networks-as-models-of-neural-information-processing">Artificial Neural Networks as Models of Neural Information Processing | Frontiers Research Topic</a>". Retrieved 2018-02-20.</span> </li> <li id="cite_note-69"><span class="mw-cite-backlink"><a href="#cite_ref-69">↑</a></span> <span class="reference-text">Akira Hirose, Shotaro Yoshida (2012). "Generalization Characteristics of Complex-valued Feedforward Neural Networks in Relation to Signal Coherence". <i>IEEE TNNLS</i>, 23(4): 541-551.</span> </li> <li id="cite_note-70"><span class="mw-cite-backlink"><a href="#cite_ref-70">↑</a></span> <span class="reference-text">Forrest M.D. (April 2015). "Simulation of alcohol action upon a detailed Purkinje neuron model and a simpler surrogate model that runs &gt;400 times faster". <i>BMC Neuroscience</i>. 16 (27): 27.</span> </li> <li id="cite_note-72"><span class="mw-cite-backlink"><a href="#cite_ref-72">↑</a></span> <span class="reference-text">Marcus, Gary F. (2001). <i>The Algebraic Mind: Integrating Connectionism and Cognitive Science</i> (Learning, Development, and Conceptual Change). Cambridge, Massachusetts: MIT Press. pp. 27–28.</span> </li> <li id="cite_note-73"><span class="mw-cite-backlink"><a href="#cite_ref-73">↑</a></span> <span class="reference-text">Peters, R. J., &amp; Itti, L. (2007, June). <a rel="nofollow" class="external text" href="https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4270335">Beyond bottom-up: Incorporating task-dependent influences into a computational model of spatial attention</a> (PDF). In <i>2007 IEEE conference on computer vision and pattern recognition</i> (pp. 1-8). IEEE.</span> </li> <li id="cite_note-74"><span class="mw-cite-backlink"><a href="#cite_ref-74">↑</a></span> <span class="reference-text">Rappaport, Steven (28 July 1996). "Abstraction and Unrealistic Assumptions in Economics". <i>Journal of Economic Methodology</i>. 3 (2): 215–236.</span> </li> <li id="cite_note-75"><span class="mw-cite-backlink"><a href="#cite_ref-75">↑</a></span> <span class="reference-text">Macal, C. M., &amp; North, M. J. (2008, December). <a rel="nofollow" class="external text" href="https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=4736060">Agent-based modeling and simulation: ABMS examples</a> (PDF). In <i>2008 Winter Simulation Conference</i> (pp. 101-112). IEEE.</span> </li> <li id="cite_note-poundstone1993-78"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-poundstone1993_78-0">48.0</a></sup> <sup><a href="#cite_ref-poundstone1993_78-1">48.1</a></sup></span> <span class="reference-text">Poundstone, William (1993). <i>Prisoner's Dilemma</i> (1st Anchor Books ed.). New York: Anchor. pp. 8, 117.</span> </li> <li id="cite_note-79"><span class="mw-cite-backlink"><a href="#cite_ref-79">↑</a></span> <span class="reference-text">Beaufils, B., Delahaye, J. P., &amp; Mathieu, P. (1997, July). Our meeting with gradual, a good strategy for the iterated prisoner's dilemma. In <i>Proceedings of the Fifth International Workshop on the Synthesis and Simulation of Living Systems</i> (pp. 202-209). MIT press.</span> </li> <li id="cite_note-80"><span class="mw-cite-backlink"><a href="#cite_ref-80">↑</a></span> <span class="reference-text">Wallace, H. M., Exline, J. J., &amp; Baumeister, R. F. (2008). Interpersonal consequences of forgiveness: Does forgiveness deter or encourage repeat offenses?. <i>Journal of Experimental Social Psychology</i>, 44(2), 453-460.</span> </li> <li id="cite_note-81"><span class="mw-cite-backlink"><a href="#cite_ref-81">↑</a></span> <span class="reference-text">Shoham, Yoav; Leyton-Brown, Kevin (2009). <i>Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations</i>. Cambridge University Press.</span> </li> <li id="cite_note-82"><span class="mw-cite-backlink"><a href="#cite_ref-82">↑</a></span> <span class="reference-text"><a rel="nofollow" class="external text" href="https://cs.stanford.edu/people/eroberts/courses/soco/projects/1998-99/game-theory/axelrod.html">Axelrod's Tournament</a>. <i>Stanford Computer Science</i>.</span> </li> <li id="cite_note-84"><span class="mw-cite-backlink"><a href="#cite_ref-84">↑</a></span> <span class="reference-text">Takizawa, K. (2014). Computational engineering analysis with the new-generation space-time methods. <i>Computational Mechanics</i>, 54(2), 193-211.</span> </li> <li id="cite_note-mcKenzie2013-86"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-mcKenzie2013_86-0">54.0</a></sup> <sup><a href="#cite_ref-mcKenzie2013_86-1">54.1</a></sup></span> <span class="reference-text">McKenzie, W. M. (2013). <i><a rel="nofollow" class="external text" href="https://civilenglineering.files.wordpress.com/2014/10/examples-in-structural-analysis-2006-by-william-m-c-mckenzie-good-one.pdf">Examples in structural analysis</a></i> (PDF). CRC Press.</span> </li> <li id="cite_note-87"><span class="mw-cite-backlink"><a href="#cite_ref-87">↑</a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r2190673">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free a,.mw-parser-output .citation .cs1-lock-free a{background:linear-gradient(transparent,transparent),url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited a,.mw-parser-output .id-lock-registration a,.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:linear-gradient(transparent,transparent),url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription a,.mw-parser-output .citation .cs1-lock-subscription a{background:linear-gradient(transparent,transparent),url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:linear-gradient(transparent,transparent),url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#3a3;margin-left:0.3em}.mw-parser-output .references-small,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .pin1ming4,.mw-parser-output .syu1ming4{font-style:normal}.mw-parser-output .pin1ming4>.zit3,.mw-parser-output .syu1ming4>.zit3,.mw-parser-output .zyun1ming4>.zit3,.mw-parser-output .zoek6zung6>.zit3{display:inline-block}.mw-parser-output .pin1ming4 .zit3>.zit3,.mw-parser-output .syu1ming4 .zit3>.zit3,.mw-parser-output .zyun1ming4 .zit3>.zit3,.mw-parser-output .zoek6zung6 .zit3>.zit3{display:inline-flex}.mw-parser-output .pin1ming4 .hoi1,.mw-parser-output .pin1ming4 .fan1gaak3,.mw-parser-output .pin1ming4 .saan1,.mw-parser-output .syu1ming4 .hoi1,.mw-parser-output .syu1ming4 .fan1gaak3,.mw-parser-output .syu1ming4 .saan1{display:inline-block;width:0;height:0;font-size:0.1px;color:transparent}.mw-parser-output .zyun1ming4 .fan1gaak3{font-size:0.125px}.mw-parser-output .pin1ming4+.pin1ming4,.mw-parser-output .pin1ming4+.syu1ming4,.mw-parser-output .syu1ming4+.pin1ming4,.mw-parser-output .syu1ming4+.syu1ming4,.mw-parser-output .zyun1ming4-b+.zyun1ming4-b,.mw-parser-output .zyun1ming4+.zyun1ming4{margin-left:0.0833em}.mw-parser-output .pin1ming4 .hai2tau4ge3.zit3 .hai2tau4ge3.zi6:after,.mw-parser-output .syu1ming4 .hai2tau4ge3.zit3 .hai2tau4ge3.zi6:after{clip-path:inset(0 0 0 0.05em)}.mw-parser-output .pin1ming4 .hai2zeoi3tau4ge3.hai2zeoi3mei1ge3.zit3 .hai2zeoi3tau4ge3.hai2zeoi3mei1ge3.zi6:after,.mw-parser-output .syu1ming4 .hai2zeoi3tau4ge3.hai2zeoi3mei1ge3.zit3 .hai2zeoi3tau4ge3.hai2zeoi3mei1ge3.zi6:after{clip-path:inset(0 0.14em 0 0.05em)}.mw-parser-output .pin1ming4 .hai2zeoi3mei1ge3.zit3 .hai2zeoi3mei1ge3.zi6:after,.mw-parser-output .syu1ming4 .hai2zeoi3mei1ge3.zit3 .hai2zeoi3mei1ge3.zi6:after{clip-path:inset(0 0.14em 0 0)}.mw-parser-output a[href$=".pdf"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".pdf?"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".pdf#"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".PDF"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".PDF?"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".PDF#"].external>span[aria-label]>.pin1ming4>.saan1,.mw-parser-output a[href$=".pdf"].external>span[aria-label]>.syu1ming4>.saan1,.mw-parser-output a[href$=".pdf?"].external>span[aria-label]>.syu1ming4>.saan1,.mw-parser-output a[href$=".pdf#"].external>span[aria-label]>.syu1ming4>.saan1,.mw-parser-output a[href$=".PDF"].external>span[aria-label]>.syu1ming4>.saan1,.mw-parser-output a[href$=".PDF?"].external>span[aria-label]>.syu1ming4>.saan1,.mw-parser-output a[href$=".PDF#"].external>span[aria-label]>.syu1ming4>.saan1{width:unset;font-size:unset}.mw-parser-output .zyun1ming4 .hai2tau4ge3.zit3 .hai2tau4ge3.zi6:after{overflow:hidden}.mw-parser-output .zyun1ming4 .hai2tau4ge3.hai2zeoi3mei1ge3.zit3{clip-path:inset(0 0 0 0)}.mw-parser-output .zyun1ming4 .hai2tau4ge3.hai2zeoi3mei1ge3.zit3 .hai2tau4ge3.hai2zeoi3mei1ge3.zi6:after{clip-path:inset(0.14em 0 0 0)}.mw-parser-output .zyun1ming4 .hai2zeoi3mei1ge3.zit3 .hai2zeoi3mei1ge3.zi6:after{transform:rotate(90deg)translate(-0.25em,0.5em)}.mw-parser-output .fan1gaak3+.zi6:after{clip-path:inset(0 0 0 0.1em)}.mw-parser-output .pin1ming4 .zi6:after,.mw-parser-output .syu1ming4 .zi6:after,.mw-parser-output .zyun1ming4 .zi6:after,.mw-parser-output .zoek6zung6 .zi6:after{position:absolute;align-self:baseline;margin-left:-1em}.mw-parser-output .pin1ming4 .zi6:after,.mw-parser-output .syu1ming4 .zi6:after{padding-top:1em;content:"﹋"}.mw-parser-output .zyun1ming4 .zi6:after{content:"︳";transform-origin:bottom left;transform:rotate(90deg)translate(-0.25em,0.35em)}.mw-parser-output .zoek6zung6 .zi6:after{padding-top:0.6em;content:"·";width:1em;text-align:center}.mw-parser-output .koen1zo2,.mw-parser-output .pin1ming4-b .hoi1-adj,.mw-parser-output .syu1ming4-b .hoi1-adj{margin-left:-0.4em}.mw-parser-output .koen1jau6,.mw-parser-output .pin1ming4-b .saan1-adj,.mw-parser-output .syu1ming4-b .saan1-adj{margin-right:-0.4em}.mw-parser-output .zyun1ming4-b{white-space:nowrap;border-bottom:0.05em solid currentColor}.mw-parser-output .zyun1ming4-b+link+.zyun1ming4-b,.mw-parser-output .zyun1ming4-b+.zyun1ming4-b{margin-left:0.083em}.mw-parser-output .references-small>ul{margin-left:0}.mw-parser-output .references-small>ul>li{margin-left:3em;text-indent:-3em;list-style:none}.mw-parser-output .citation .mw-selflink{font-weight:inherit}</style><cite id="CITEREFPottsZdravković1999" class="citation book cs1">Potts, D. M.; Zdravković, L. (1999). <i>Finite element analysis in geotechnical engineering</i>. Thomas Telford. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:%E6%9B%B8%E6%9C%AC%E4%BE%86%E6%BA%90/9780727727534" title="Special:書本來源/9780727727534"><bdi>9780727727534</bdi></a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Finite+element+analysis+in+geotechnical+engineering&amp;rft.pub=Thomas+Telford&amp;rft.date=1999&amp;rft.isbn=9780727727534&amp;rft.aulast=Potts&amp;rft.aufirst=D.+M.&amp;rft.au=Zdravkovi%C4%87%2C+L.&amp;rfr_id=info%3Asid%2Fzh-yue.wikipedia.org%3A%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" class="Z3988"></span></span> </li> <li id="cite_note-88"><span class="mw-cite-backlink"><a href="#cite_ref-88">↑</a></span> <span class="reference-text">Nester, C. J., Liu, A. M., Ward, E., Howard, D., Cocheba, J., &amp; Derrick, T. (2010). Error in the description of foot kinematics due to violation of rigid body assumptions. <i>Journal of biomechanics</i>, 43(4), 666-672.</span> </li> <li id="cite_note-89"><span class="mw-cite-backlink"><a href="#cite_ref-89">↑</a></span> <span class="reference-text">Timan, A. F. (2014). <i>Theory of approximation of functions of a real variable</i>. Elsevier.</span> </li> <li id="cite_note-parker2013-92"><span class="mw-cite-backlink"><a href="#cite_ref-parker2013_92-0">↑</a></span> <span class="reference-text">Parker, W. (2013). Computer Simulation, in S. Psillos and M. Curd (eds.), <i>The Routledge Companion to Philosophy of Science</i>, 2nd Edition, London: Routledge.</span> </li> <li id="cite_note-93"><span class="mw-cite-backlink"><a href="#cite_ref-93">↑</a></span> <span class="reference-text">Oberkampf, W. and C. Roy, (2010). <i>Verification and Validation in Scientific Computing</i>, Cambridge: Cambridge University Press.</span> </li> <li id="cite_note-96"><span class="mw-cite-backlink"><a href="#cite_ref-96">↑</a></span> <span class="reference-text">Heckbert, S., Baynes, T., &amp; Reeson, A. (2010). <a rel="nofollow" class="external text" href="https://d1wqtxts1xzle7.cloudfront.net/44161975/Agent-based_modeling_in_ecological_econo20160328-28027-wu6auw-with-cover-page-v2.pdf?Expires=1638771424&amp;Signature=bB0xwlUDTT7CryMe4kKVjLwR7jBCYKaD3ffyrT1RMY89TzvZLfPd4ELnC9IAEmUCElah~ycMWga4Zl6yzOViRGcxMHUt4Ey8CSo1kTATYy6Gg-zspECz6N-b86731t-ReMdYZP5989vruSUIpF0t0Y7n2yAlXvdVpamyZu~oqk3p-nyWl0IfjH4QPpn7iSah15ky8YhoipA~OzXBQc0Tr27grSgkZBTLlhK0qIhnW6qV5Ny1vHCmUNpRL5cRFE0elhwJY0FxSnWn7KJe3TubmwsGbnz40R8rcvoLn2-6Okicc~VsBHreSRfNegCs63htPV2THnlmdQgOVnjwljWx1A__&amp;Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA">Agent‐based modeling in ecological economics</a> <a href="/wiki/Wayback_Machine" title="Wayback Machine">互聯網檔案館</a>嘅<a rel="nofollow" class="external text" href="https://web.archive.org/web/20211206051808/https://d1wqtxts1xzle7.cloudfront.net/44161975/Agent-based_modeling_in_ecological_econo20160328-28027-wu6auw-with-cover-page-v2.pdf?Expires=1638771424&amp;Signature=bB0xwlUDTT7CryMe4kKVjLwR7jBCYKaD3ffyrT1RMY89TzvZLfPd4ELnC9IAEmUCElah~ycMWga4Zl6yzOViRGcxMHUt4Ey8CSo1kTATYy6Gg-zspECz6N-b86731t-ReMdYZP5989vruSUIpF0t0Y7n2yAlXvdVpamyZu~oqk3p-nyWl0IfjH4QPpn7iSah15ky8YhoipA~OzXBQc0Tr27grSgkZBTLlhK0qIhnW6qV5Ny1vHCmUNpRL5cRFE0elhwJY0FxSnWn7KJe3TubmwsGbnz40R8rcvoLn2-6Okicc~VsBHreSRfNegCs63htPV2THnlmdQgOVnjwljWx1A__&amp;Key-Pair-Id=APKAJLOHF5GGSLRBV4ZA">歸檔</a>,歸檔日期2021年12月6號,. (PDF). <i>Annals of the New York Academy of Sciences</i>, 1185(1), 39-53.</span> </li> <li id="cite_note-humphreys2004-98"><span class="mw-cite-backlink"><a href="#cite_ref-humphreys2004_98-0">↑</a></span> <span class="reference-text">Humphreys, P. (2004). <i>Extending ourselves: Computational science, empiricism, and scientific method</i>. Oxford University Press.</span> </li> <li id="cite_note-99"><span class="mw-cite-backlink"><a href="#cite_ref-99">↑</a></span> <span class="reference-text">O'Connor, Timothy; Wong, Hong Yu (February 28, 2012). Edward N. Zalta (ed.). "Emergent Properties". <i>The Stanford Encyclopedia of Philosophy</i> (Spring 2012 Edition).</span> </li> <li id="cite_note-101"><span class="mw-cite-backlink"><a href="#cite_ref-101">↑</a></span> <span class="reference-text">Bedau, Mark A. (1997), <a rel="nofollow" class="external text" href="http://people.reed.edu/~mab/papers/weak.emergence.pdf">Weak Emergence</a> (PDF).</span> </li> <li id="cite_note-102"><span class="mw-cite-backlink"><a href="#cite_ref-102">↑</a></span> <span class="reference-text">Bedau, M. A. (2013). Weak emergence and computer simulation. In <i>Models, simulations, and representations</i> (pp. 109-132). Routledge.</span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="拎"><span id=".E6.8B.8E"></span>拎</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;action=edit&amp;section=19" title="編輯小節: 拎"><span>編輯</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r2018312">.mw-parser-output .side-box{margin:4px 0;box-sizing:border-box;border:1px solid #aaa;font-size:88%;line-height:1.25em;background-color:#f9f9f9;display:flow-root}.mw-parser-output .side-box-abovebelow,.mw-parser-output .side-box-text{padding:0.25em 0.9em}.mw-parser-output .side-box-image{padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .side-box-imageright{padding:2px 0.9em 2px 0;text-align:center}@media(min-width:500px){.mw-parser-output .side-box-flex{display:flex;align-items:center}.mw-parser-output .side-box-text{flex:1}}@media(min-width:720px){.mw-parser-output .side-box{width:238px}.mw-parser-output .side-box-right{clear:right;float:right;margin-left:1em}.mw-parser-output .side-box-left{margin-right:1em}}</style><div class="side-box side-box-right plainlinks sistersitebox"><style data-mw-deduplicate="TemplateStyles:r2018311">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style> <div class="side-box-flex"> <div class="side-box-image"><span class="noviewer" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png" decoding="async" width="30" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/45px-Commons-logo.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/59px-Commons-logo.svg.png 2x" data-file-width="1024" data-file-height="1376" /></span></span></div> <div class="side-box-text plainlist"><a href="https://commons.wikimedia.org/wiki/%E9%A0%AD%E7%89%88" class="extiw" title="commons:頭版">維基同享</a>有多媒體嘅嘢:<br /><b><a href="https://commons.wikimedia.org/wiki/Category:Computer_simulations" class="extiw" title="commons:Category:Computer simulations"><span style="">電腦模擬</span></a></b></div></div> </div> <ul><li><span style="font-family: sans-serif; cursor: default; color: var(--color-subtle, #555); font-size: 0.8em; position: relative; bottom: 0.1em; font-weight: bold;" title="連到英文網頁">(英文)</span> <a rel="nofollow" class="external text" href="https://plato.stanford.edu/entries/simulations-science/">Computer Simulations in Science</a>,<a href="/wiki/%E5%8F%B2%E4%B8%B9%E7%A6%8F%E5%93%B2%E5%AD%B8%E7%99%BE%E7%A7%91%E5%85%A8%E6%9B%B8" title="史丹福哲學百科全書">史丹福哲學百科全書</a></li> <li><span style="font-family: sans-serif; cursor: default; color: var(--color-subtle, #555); font-size: 0.8em; position: relative; bottom: 0.1em; font-weight: bold;" title="連到英文網頁">(英文)</span> <a rel="nofollow" class="external text" href="https://plato.stanford.edu/entries/models-science/">Models in Science</a>,史丹福哲學百科全書</li> <li><span style="font-family: sans-serif; cursor: default; color: var(--color-subtle, #555); font-size: 0.8em; position: relative; bottom: 0.1em; font-weight: bold;" title="連到英文網頁">(英文)</span> <a rel="nofollow" class="external text" href="https://www.lib.ncsu.edu/findingaids/mc00488">Guide to the Computer Simulation Oral History Archive 2003-2018</a>.</li></ul> <div role="navigation" class="navbox" aria-labelledby="電腦科學" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="3"><div class="plainlinks hlist navbar mini"><ul><li class="nv-view"><a href="/wiki/Template:%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8" title="Template:電腦科學"><abbr title="去睇呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">睇</abbr></a></li><li class="nv-talk"><a href="/w/index.php?title=Template_talk:%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8&amp;action=edit&amp;redlink=1" class="new" title="Template talk:電腦科學 (無呢版)"><abbr title="傾呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">傾</abbr></a></li><li class="nv-edit"><a class="external text" href="https://zh-yue.wikipedia.org/w/index.php?title=Template:%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8&amp;action=edit"><abbr title="編輯呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">改</abbr></a></li></ul></div><div id="電腦科學" style="font-size:114%;margin:0 4em"><a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8" title="電腦科學">電腦科學</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="3"><div id="研究運算嘅科學工程領域">研究<a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>嘅<a href="/wiki/%E7%A7%91%E5%AD%B8" title="科學">科學</a><a href="/wiki/%E5%B7%A5%E7%A8%8B" class="mw-redirect" title="工程">工程</a>領域</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">重要概念</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/I/O" title="I/O">I/O</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6" title="電腦">電腦</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%81%8B%E7%AE%97%E9%82%8F%E8%BC%AF" title="運算邏輯">運算邏輯</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%95%B8%E8%AB%96" title="數論">數論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%BA%8C%E9%80%B2%E5%88%B6" title="二進制">二進制</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%95%B8%E5%AD%B8%E9%82%8F%E8%BC%AF" title="數學邏輯">數學邏輯</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%A2%E6%95%A3%E6%95%B8%E5%AD%B8" title="離散數學">離散數學</a>(<a href="/wiki/%E5%9C%96%E8%AB%96" title="圖論">圖論</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%8A%BD%E8%B1%A1%E5%8C%96_(%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8)" title="抽象化 (電腦科學)">抽象化</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8%E8%A9%9E%E5%BD%99%E8%A1%A8" title="電腦科學詞彙表">電腦科學詞彙表</a></div></td><td class="navbox-image" rowspan="8" style="width:1px;padding:0px 0px 0px 2px"><div><span typeof="mw:File"><a href="/wiki/File:Binario_cropped.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/17/Binario_cropped.png/150px-Binario_cropped.png" decoding="async" width="150" height="129" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/17/Binario_cropped.png/225px-Binario_cropped.png 1.5x, //upload.wikimedia.org/wikipedia/commons/1/17/Binario_cropped.png 2x" data-file-width="254" data-file-height="218" /></a></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E7%90%86%E8%AB%96%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8" title="理論電腦科學">電腦理論</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th id="運算理論" scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E9%81%8B%E7%AE%97%E7%90%86%E8%AB%96" title="運算理論">運算理論</a></div></th><td class="navbox-list navbox-even" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E8%87%AA%E5%8B%95%E6%A9%9F%E7%90%86%E8%AB%96" title="自動機理論">自動機理論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%8F%AF%E9%81%8B%E7%AE%97%E5%BA%A6%E7%90%86%E8%AB%96" title="可運算度理論">可運算度理論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%81%8B%E7%AE%97%E8%A4%87%E9%9B%9C%E5%BA%A6%E7%90%86%E8%AB%96" title="運算複雜度理論">運算複雜度理論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%9C%96%E9%9D%88%E6%A9%9F" title="圖靈機">圖靈機</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%87%8F%E5%AD%90%E9%81%8B%E7%AE%97" title="量子運算">量子運算</a></div></td></tr><tr><td colspan="2" class="navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E8%B3%87%E8%A8%8A%E7%90%86%E8%AB%96" title="資訊理論">資訊理論</a>(<a href="/wiki/%E8%B3%87%E8%A8%8A" title="資訊">資訊</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%A8%8A%E8%99%9F" title="訊號">訊號</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B3%87%E8%A8%8A%E7%86%B5" title="資訊熵">資訊熵</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B7%A8%E7%A2%BC%E7%90%86%E8%AB%96" title="編碼理論">編碼理論</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B3%87%E6%96%99%E9%A1%9E%E5%9E%8B" title="資料類型">資料類型‎</a>同<a href="/wiki/%E6%95%B8%E6%93%9A%E7%B5%90%E6%A7%8B" title="數據結構">數據結構</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B3%BB%E7%B5%B1%E8%B3%87%E6%BA%90" title="系統資源">系統資源</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%BC%94%E7%AE%97%E6%B3%95" title="演算法">演算法</a>(<a href="/wiki/%E6%BC%94%E7%AE%97%E6%B3%95%E5%88%86%E6%9E%90" title="演算法分析">分析</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%BD%A2%E5%BC%8F%E5%8C%96%E6%96%B9%E6%B3%95" title="形式化方法">形式化方法</a></div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">電腦系統</th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%9B%BB%E8%85%A6%E6%9E%B6%E6%A7%8B" title="電腦架構">電腦架構</a>(<a href="/wiki/%E9%82%8F%E8%BC%AF%E9%96%80" title="邏輯門">邏輯門</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%8C%87%E4%BB%A4%E9%9B%86%E6%9E%B6%E6%A7%8B" title="指令集架構">指令集架構</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%BE%AE%E6%9E%B6%E6%A7%8B" title="微架構">微架構</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%A4%9A%E5%85%83%E8%99%95%E7%90%86" title="多元處理">多元處理</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%BD%9C%E6%A5%AD%E7%B3%BB%E7%B5%B1" title="作業系統">作業系統</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%B8%A6%E8%A1%8C%E9%81%8B%E7%AE%97" title="並行運算">並行</a>、<a href="/wiki/%E5%B9%B3%E8%A1%8C%E9%81%8B%E7%AE%97" title="平行運算">平行</a>同<a href="/wiki/%E5%88%86%E6%95%A3%E9%81%8B%E7%AE%97" title="分散運算">分散</a>運算<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E6%80%A7%E8%83%BD" title="電腦性能">性能</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B6%85%E7%B4%9A%E9%9B%BB%E8%85%A6" title="超級電腦">超級電腦</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">電腦通訊</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E9%9B%BB%E8%85%A6%E7%B6%B2%E7%B5%A1" title="電腦網絡">電腦網絡</a></div></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E7%B6%B2%E7%B5%A1%E5%82%B3%E8%BC%B8%E5%8D%94%E8%AD%B0" title="網絡傳輸協議">網絡傳輸協議</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B6%B2%E7%B5%A1%E6%8B%93%E6%A8%B8" title="網絡拓樸">網絡拓樸</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%95%B8%E6%93%9A%E5%82%B3%E8%BC%B8" title="數據傳輸">數據傳輸</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%BA%92%E8%81%AF%E7%B6%B2" title="互聯網">互聯網</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B6%B2%E9%A0%81%E8%A8%AD%E8%A8%88" title="網頁設計">網頁設計</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E9%9B%BB%E8%85%A6%E4%BF%9D%E5%AE%89" title="電腦保安">電腦保安</a></div></th><td class="navbox-list navbox-even" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E7%B6%B2%E7%B5%A1%E4%BF%9D%E5%AE%89" title="網絡保安">網絡保安</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%BC%8F%E6%B4%9E" title="漏洞">漏洞</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%85%AC%E5%85%B1%E6%BC%8F%E6%B4%9E%E5%90%8C%E6%9A%B4%E9%9C%B2" title="公共漏洞同暴露">公共漏洞同暴露</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B6%B2%E7%B5%A1%E6%94%BB%E6%93%8A" title="網絡攻擊">網絡攻擊</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E7%97%85%E6%AF%92" title="電腦病毒">電腦病毒</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%AF%86%E7%A2%BC%E5%AD%B8" title="密碼學">密碼學</a></div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%9B%BB%E8%85%A6%E7%A8%8B%E5%BC%8F%E7%B7%A8%E5%AF%AB" title="電腦程式編寫">程式編寫</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" title="程式語言">程式語言</a>(<a href="/wiki/%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80%E7%90%86%E8%AB%96" title="程式語言理論">程式語言理論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%BD%8E%E7%B4%9A%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" title="低級程式語言">低級</a>同<a href="/wiki/%E9%AB%98%E7%B4%9A%E7%A8%8B%E5%BC%8F%E8%AA%9E%E8%A8%80" title="高級程式語言">高級</a>程式語言<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%8E%A7%E5%88%B6%E6%B5%81%E7%A8%8B" title="控制流程">控制流程</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%A8%8B%E5%BC%8F%E5%9F%B7%E8%A1%8C" title="程式執行">程式執行</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B7%A8%E8%AD%AF%E5%99%A8" title="編譯器">編譯器</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%A8%8B%E5%BC%8F%E7%B7%A8%E5%AF%AB%E7%AF%84%E5%BC%8F" title="程式編寫範式">程式編寫範式</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">電腦應用</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E6%95%B8%E7%A2%BC%E8%97%9D%E8%A1%93" title="數碼藝術">數碼藝術</a></div></th><td class="navbox-list navbox-even" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" title="電腦圖像">電腦圖像</a>(<a href="/wiki/%E4%BA%8C%E7%B6%AD%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" class="mw-redirect" title="二維電腦圖像">2D</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E4%B8%89%E7%B6%AD%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F" class="mw-redirect" title="三維電腦圖像">3D</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E5%8B%95%E7%95%AB" title="電腦動畫">電腦動畫</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B3%87%E8%A8%8A%E5%8F%AF%E8%A6%96%E5%8C%96" title="資訊可視化">資訊可視化</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%99%9B%E6%93%AC%E5%AF%A6%E5%A2%83" title="虛擬實境">VR</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%93%B4%E5%BC%B5%E5%AF%A6%E5%A2%83" title="擴張實境">AR</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E5%9C%96%E5%83%8F%E5%AD%B8" title="電腦圖像學">電腦圖像學</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E9%9F%B3%E6%A8%82" title="電腦音樂">電腦音樂</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E8%BB%9F%E4%BB%B6%E5%B7%A5%E7%A8%8B" title="軟件工程">軟件工程</a></div></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%9B%BB%E8%85%A6%E8%BB%9F%E4%BB%B6" title="電腦軟件">電腦軟件</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%BB%9F%E4%BB%B6%E9%96%8B%E7%99%BC" title="軟件開發">軟件開發</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%BB%9F%E4%BB%B6%E9%9C%80%E6%B1%82" title="軟件需求">軟件需求</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%BB%9F%E4%BB%B6%E9%A0%85%E7%9B%AE%E7%AE%A1%E7%90%86" title="軟件項目管理">軟件項目管理</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E5%AD%90%E9%81%8A%E6%88%B2%E8%A3%BD%E4%BD%9C" title="電子遊戲製作">電子遊戲製作</a></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"><a href="/wiki/%E4%BA%BA%E6%A9%9F%E4%BA%92%E5%8B%95" title="人機互動">HCI</a></div></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><td colspan="2" class="navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E7%94%A8%E5%AE%B6" title="用家">用家</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%98%93%E7%94%A8%E5%BA%A6" title="易用度">易用度</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%94%A8%E5%AE%B6%E4%BB%8B%E9%9D%A2" title="用家介面">用家介面</a>(<a href="/wiki/%E7%94%A8%E5%AE%B6%E4%BB%8B%E9%9D%A2%E8%A8%AD%E8%A8%88" title="用家介面設計">設計</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%9C%96%E5%83%8F%E7%94%A8%E5%AE%B6%E4%BB%8B%E9%9D%A2" title="圖像用家介面">圖像</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%91%BD%E4%BB%A4%E8%A1%8C%E4%BB%8B%E9%9D%A2" title="命令行介面">命令行</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%85%A6%E6%A9%9F%E4%BB%8B%E9%9D%A2" title="腦機介面">腦機</a>)</div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;">其他應用</div></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E8%B3%87%E8%A8%8A%E7%B3%BB%E7%B5%B1" title="資訊系統">資訊系統</a>(<a href="/wiki/%E6%95%B8%E6%93%9A%E5%BA%AB" title="數據庫">數據庫</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%A7%91%E5%AD%B8%E9%81%8B%E7%AE%97" title="科學運算">科學運算</a>(<a class="mw-selflink selflink">電腦模擬</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%81%8B%E7%AE%97%E6%95%B8%E8%AB%96" title="運算數論">運算數論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E4%BB%A3%E6%95%B8" title="電腦代數">電腦代數</a></div></td></tr></tbody></table><div></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD" title="人工智能">AI</a></th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD%E5%93%B2%E5%AD%B8" title="人工智能哲學">AI 哲學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%9F%A5%E8%AD%98%E8%A1%A8%E7%A4%BA" title="知識表示">知識表示</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%87%AA%E5%8B%95%E8%A8%88%E5%8A%83" title="自動計劃">自動計劃</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E8%A6%96%E8%A6%BA" title="電腦視覺">電腦視覺</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%87%AA%E7%84%B6%E8%AA%9E%E8%A8%80%E8%99%95%E7%90%86" title="自然語言處理">NLP</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%A9%9F%E6%A2%B0%E5%AD%B8%E7%BF%92" title="機械學習">機械學習</a>(<a href="/wiki/%E4%BA%BA%E5%B7%A5%E7%A5%9E%E7%B6%93%E7%B6%B2%E7%B5%A1" title="人工神經網絡">ANN</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%9B%A3%E7%9D%A3%E5%BC%8F%E5%AD%B8%E7%BF%92" title="監督式學習">監督式學習</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9D%9E%E7%9B%A3%E7%9D%A3%E5%BC%8F%E5%AD%B8%E7%BF%92" title="非監督式學習">非監督式學習</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%BC%B7%E5%8C%96%E5%AD%B8%E7%BF%92" title="強化學習">強化學習</a>)</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">相關領域</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"></div><table class="nowraplinks navbox-subgroup" style="border-spacing:0"><tbody><tr><th id="_工程學" scope="row" class="navbox-group" style="width:1%;padding-left:0em;padding-right:0em;"><div style="padding:0em 0.75em;"> <a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a></div></th><td class="navbox-list navbox-odd" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%9B%BB%E5%AD%90%E5%B7%A5%E7%A8%8B" title="電子工程">電子工程</a>(<a href="/wiki/%E9%9B%BB%E8%A8%8A" title="電訊">電訊</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9B%BB%E8%85%A6%E5%B7%A5%E7%A8%8B" title="電腦工程">電腦工程</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B3%87%E8%A8%8A%E7%A7%91%E6%8A%80" title="資訊科技">資訊科技</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%A9%9F%E6%A2%B0%E4%BA%BA%E5%AD%B8" title="機械人學">機械人學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%A9%9F%E9%9B%BB%E5%B7%A5%E7%A8%8B" class="mw-redirect" title="機電工程">機電工程</a></div></td></tr><tr><td colspan="2" class="navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"><a href="/wiki/%E9%82%8F%E8%BC%AF%E5%AD%B8" class="mw-redirect" title="邏輯學">邏輯學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%95%B8%E5%AD%B8" title="數學">數學</a>(<a href="/wiki/%E7%B5%B1%E8%A8%88%E5%AD%B8" title="統計學">統計學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%8D%9A%E5%BC%88%E8%AB%96" title="博弈論">博弈論</a>)<span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%AA%8D%E7%9F%A5%E7%A7%91%E5%AD%B8" title="認知科學">認知科學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%A8%A1%E6%8E%A7%E5%AD%B8" title="模控學">模控學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%B3%87%E8%A8%8A%E7%A7%91%E5%AD%B8" title="資訊科學">資訊科學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B3%BB%E7%B5%B1%E7%A7%91%E5%AD%B8" title="系統科學">系統科學</a></div></td></tr></tbody></table><div></div></td></tr><tr><td class="navbox-abovebelow" colspan="3"><div><a href="/wiki/Category:%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8" title="Category:電腦科學">電腦科學類</a></div></td></tr></tbody></table></div> <div role="navigation" class="navbox" aria-labelledby="複雜系統" style="padding:3px"><table class="nowraplinks mw-collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="3"><div class="plainlinks hlist navbar mini"><ul><li class="nv-view"><a href="/wiki/Template:%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1" title="Template:複雜系統"><abbr title="去睇呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">睇</abbr></a></li><li class="nv-talk"><a href="/w/index.php?title=Template_talk:%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1&amp;action=edit&amp;redlink=1" class="new" title="Template talk:複雜系統 (無呢版)"><abbr title="傾呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">傾</abbr></a></li><li class="nv-edit"><a class="external text" href="https://zh-yue.wikipedia.org/w/index.php?title=Template:%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1&amp;action=edit"><abbr title="編輯呢個模" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">改</abbr></a></li></ul></div><div id="複雜系統" style="font-size:114%;margin:0 4em"><a href="/wiki/%E8%A4%87%E9%9B%9C%E7%B3%BB%E7%B5%B1" title="複雜系統">複雜系統</a></div></th></tr><tr><td class="navbox-abovebelow" colspan="3"><div id="顧名思義係指複雜嘅系統,變化難以預測">顧名思義係指<a href="/wiki/%E8%A4%87%E9%9B%9C" title="複雜">複雜</a>嘅<a href="/wiki/%E7%B3%BB%E7%B5%B1" title="系統">系統</a>,變化難以預測</div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">重要概念</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E8%A4%87%E9%9B%9C" title="複雜">複雜</a>同<a href="/wiki/%E7%B0%A1%E5%96%AE" title="簡單">簡單</a></li> <li><a href="/wiki/%E7%B5%84%E5%90%88%E7%88%86%E7%99%BC" title="組合爆發">組合爆發</a></li> <li><a href="/wiki/%E5%89%B5%E7%99%BC" title="創發">創發</a>同<a href="/wiki/%E8%87%AA%E6%88%91%E7%B5%84%E7%B9%94" title="自我組織">自我組織</a></li> <li><a href="/wiki/%E5%8B%95%E6%85%8B%E7%B3%BB%E7%B5%B1" title="動態系統">動態系統</a></li> <li><a href="/wiki/%E8%A4%87%E9%9B%9C%E9%81%A9%E6%87%89%E7%B3%BB%E7%B5%B1" title="複雜適應系統">適應系統</a></li> <li><a href="/wiki/%E5%8F%AF%E9%80%B2%E5%8C%96%E5%BA%A6" title="可進化度">可進化</a></li> <li><a href="/wiki/%E6%95%B4%E9%AB%94%E4%B8%BB%E7%BE%A9" title="整體主義">整體主義</a>同<a href="/wiki/%E9%82%84%E5%8E%9F%E8%AB%96" title="還原論">還原論</a></li> <li><a href="/wiki/%E8%87%AA%E7%84%B6%E5%BD%A2%E6%85%8B%E8%A6%8F%E5%BE%8B" title="自然形態規律">自然形態規律</a></li></ul> </div></td><td class="navbox-image" rowspan="8" style="width:1px;padding:0px 0px 0px 2px"><div><span typeof="mw:File"><a href="/wiki/File:Lorenz_attractor.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Lorenz_attractor.svg/150px-Lorenz_attractor.svg.png" decoding="async" width="150" height="150" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Lorenz_attractor.svg/225px-Lorenz_attractor.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Lorenz_attractor.svg/300px-Lorenz_attractor.svg.png 2x" data-file-width="750" data-file-height="750" /></a></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">重要例子</th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E7%94%9F%E5%91%BD" title="生命">生命</a>同<a href="/wiki/%E7%94%9F%E7%89%A9" title="生物">生物</a></li> <li><a href="/wiki/%E7%B4%B0%E8%83%9E" title="細胞">細胞</a></li> <li>神經<a href="/wiki/%E7%A5%9E%E7%B6%93%E7%B4%B0%E8%83%9E" title="神經細胞">細胞</a>同<a href="/wiki/%E7%A5%9E%E7%B6%93%E7%B3%BB%E7%B5%B1" title="神經系統">系統</a>-包括<a href="/wiki/%E8%85%A6" title="腦">腦</a>(尤其係<a href="/wiki/%E4%BA%BA%E8%85%A6" title="人腦">人腦</a>)</li> <li><a href="/wiki/%E7%A8%AE%E7%BE%A4" title="種群">種群</a></li> <li><a href="/wiki/%E7%94%9F%E6%85%8B%E7%B3%BB%E7%B5%B1" title="生態系統">生態系統</a>(<a href="/wiki/%E9%97%9C%E9%8D%B5%E7%89%A9%E7%A8%AE" title="關鍵物種">關鍵物種</a>)</li> <li><a href="/wiki/%E8%87%AA%E7%84%B6" title="自然">自然</a></li> <li><a href="/wiki/%E6%B0%A3%E5%80%99" title="氣候">氣候</a></li></ul> <ul><li><a href="/wiki/%E7%B5%84%E7%B9%94" title="組織">組織</a></li> <li><a href="/wiki/%E7%A4%BE%E6%9C%83" title="社會">社會</a></li> <li><a href="/wiki/%E7%B6%93%E6%BF%9F%E9%AB%94" class="mw-redirect" title="經濟體">經濟體</a>(<a href="/wiki/%E9%87%91%E8%9E%8D%E5%B8%82%E5%A0%B4" title="金融市場">金融市場</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%9C%8B%E9%9A%9B%E7%B6%93%E6%BF%9F" class="mw-redirect" title="國際經濟">國際經濟</a>)</li> <li><a href="/wiki/%E5%9F%8E%E5%B8%82" title="城市">城市</a></li> <li>現代<a href="/wiki/%E5%9F%BA%E7%A4%8E%E5%BB%BA%E8%A8%AD" class="mw-redirect" title="基礎建設">基礎建設</a></li> <li>進階<a href="/wiki/%E9%9B%BB%E8%85%A6%E8%BB%9F%E4%BB%B6" title="電腦軟件">電腦軟件</a></li> <li><a href="/wiki/%E5%9C%B0%E7%90%83" title="地球">地球</a></li> <li><a href="/wiki/%E6%98%9F%E7%B3%BB" title="星系">星系</a></li> <li><a href="/wiki/%E5%AE%87%E5%AE%99" title="宇宙">宇宙</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%9D%9E%E7%B7%9A%E6%80%A7%E7%B3%BB%E7%B5%B1" title="非線性系統">非線系統</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="微分方程">微分方程</a>(<a href="/wiki/%E5%B8%B8%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="常微分方程">常</a>同<a href="/wiki/%E5%81%8F%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B" title="偏微分方程">偏</a>)</li> <li><a href="/wiki/%E6%99%82%E9%96%93%E5%BA%8F%E5%88%97" title="時間序列">時間序列</a></li> <li><a href="/wiki/%E6%B7%B7%E6%B2%8C%E7%90%86%E8%AB%96" title="混沌理論">混沌理論</a>(<a href="/wiki/%E8%87%A8%E7%95%8C%E9%81%8E%E6%B8%A1" title="臨界過渡">臨界過渡</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E5%90%B8%E5%BC%95%E5%AD%90" title="吸引子">吸引子</a>)</li> <li><a href="/wiki/%E5%88%86%E5%B2%94%E7%90%86%E8%AB%96" title="分岔理論">分岔理論</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E7%B6%B2%E7%B5%A1%E7%90%86%E8%AB%96" title="網絡理論">網絡理論</a></th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E7%B6%B2%E7%B5%A1%E7%A7%91%E5%AD%B8" title="網絡科學">網絡科學</a></li> <li><a href="/wiki/%E7%B6%B2%E7%B5%A1%E4%B8%AD%E5%BF%83%E5%BA%A6" title="網絡中心度">中心度</a></li> <li><a href="/wiki/%E7%B6%B2%E7%B5%A1%E8%A6%8F%E5%BE%8B" title="網絡規律">網絡規律</a></li> <li><a href="/wiki/%E7%B4%B0%E4%B8%96%E7%95%8C%E7%B6%B2%E7%B5%A1" title="細世界網絡">細世界網絡</a></li> <li><a href="/wiki/%E7%A5%9E%E7%B6%93%E7%B6%B2%E7%B5%A1" title="神經網絡">神經網絡</a>、<a href="/wiki/%E7%A4%BE%E6%9C%83%E7%B6%B2%E7%B5%A1" title="社會網絡">社會網絡</a>同<a href="/wiki/%E9%9B%BB%E8%85%A6%E7%B6%B2%E7%B5%A1" title="電腦網絡">電腦網絡</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%9B%86%E9%AB%94%E8%A1%8C%E7%82%BA" title="集體行為">集體行為</a></th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E7%A4%BE%E6%9C%83%E5%8B%95%E5%8A%9B%E5%AD%B8" title="社會動力學">社會動力學</a></li> <li><a href="/wiki/%E8%B6%85%E7%94%9F%E7%89%A9" title="超生物">超生物</a></li> <li><a href="/wiki/%E5%A4%A7%E7%BE%A4%E8%A1%8C%E7%82%BA" title="大群行為">大群行為</a></li> <li><a href="/wiki/%E9%9B%86%E9%AB%94%E6%99%BA%E8%83%BD" title="集體智能">集體智能</a></li> <li><a href="/wiki/%E9%9B%86%E9%AB%94%E8%A1%8C%E5%8B%95" title="集體行動">集體行動</a></li> <li><a href="/wiki/%E9%9B%86%E9%AB%94%E6%84%8F%E8%AD%98" title="集體意識">集體意識</a></li> <li><a href="/wiki/%E7%BE%8A%E7%BE%A4%E5%BF%83%E7%90%86" class="mw-redirect" title="羊群心理">羊群心理</a></li> <li><a href="/wiki/%E5%90%8C%E6%AD%A5" title="同步">同步</a></li> <li><a href="/wiki/%E9%9B%86%E9%AB%94%E6%84%8F%E6%9C%83" title="集體意會">集體意會</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E7%B3%BB%E7%B5%B1%E7%90%86%E8%AB%96" title="系統理論">系統理論</a></th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Feedback" title="Feedback">Feedback</a></li> <li><a href="/wiki/%E8%87%AA%E6%8C%87" title="自指">自指</a></li> <li><a href="/wiki/%E9%A0%91%E5%81%A5%E5%BA%A6" title="頑健度">頑健</a>同<a href="/wiki/%E5%AE%B9%E9%8C%AF%E8%83%BD%E5%8A%9B" title="容錯能力">容錯</a></li> <li><a href="/wiki/%E5%8F%AF%E6%93%B4%E7%B8%AE%E5%BA%A6" title="可擴縮度">可擴縮度</a></li> <li><a href="/wiki/%E9%AB%94%E5%86%85%E5%B9%B3%E8%A1%A1" title="體内平衡">體内平衡</a></li> <li><a href="/wiki/%E8%87%AA%E7%94%9F%E7%B3%BB%E7%B5%B1" title="自生系統">自生系統</a>同<a href="/wiki/%E8%87%AA%E6%88%91%E8%A4%87%E8%A3%BD" title="自我複製">自我複製</a></li> <li><a href="/wiki/%E5%A4%9A%E7%A9%A9%E6%85%8B" title="多穩態">多穩態</a></li> <li><a href="/wiki/%E7%B3%BB%E7%B5%B1%E5%8B%95%E5%8A%9B%E5%AD%B8" title="系統動力學">系統動力學</a></li> <li><a href="/wiki/%E6%A8%A1%E6%8E%A7%E5%AD%B8" title="模控學">模控學</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%"><a href="/wiki/%E9%81%8B%E7%AE%97" title="運算">運算</a>相關</th><td class="navbox-list navbox-odd hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E9%81%8B%E7%AE%97%E8%A4%87%E9%9B%9C%E5%BA%A6" class="mw-redirect" title="運算複雜度">運算複雜度</a></li> <li><a class="mw-selflink selflink">電腦模擬</a>(<a href="/wiki/%E5%80%8B%E9%AB%94%E7%82%BA%E6%9C%AC%E6%A8%A1%E5%9E%8B" title="個體為本模型">個體為本模型</a>)</li> <li><a href="/wiki/%E6%A9%9F%E6%A2%B0%E5%AD%B8%E7%BF%92" title="機械學習">機械學習</a>(<a href="/wiki/%E4%BA%BA%E5%B7%A5%E7%A5%9E%E7%B6%93%E7%B6%B2%E7%B5%A1" title="人工神經網絡">人工神經網絡</a>)</li> <li><a href="/wiki/%E9%80%B2%E5%8C%96%E9%81%8B%E7%AE%97" title="進化運算">進化運算</a>(<a href="/wiki/%E9%81%BA%E5%82%B3%E6%BC%94%E7%AE%97%E6%B3%95" title="遺傳演算法">遺傳演算法</a>)</li></ul> <ul><li><a href="/wiki/%E6%9C%80%E4%BD%B3%E5%8C%96" title="最佳化">最佳化</a>(<a href="/wiki/%E5%85%A8%E5%B1%80%E6%9C%80%E4%BD%B3%E5%8C%96" title="全局最佳化">全局最佳化</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%B2%92%E5%AD%90%E7%BE%A4%E6%9C%80%E4%BD%B3%E5%8C%96" title="粒子群最佳化">粒子群最佳化</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%9F%BB%E7%BE%A4%E6%9C%80%E4%BD%B3%E5%8C%96%E6%BC%94%E7%AE%97%E6%B3%95" title="蟻群最佳化演算法">蟻群最佳化演算法</a>)</li> <li><a href="/wiki/%E6%A0%BC%E4%BB%94%E8%87%AA%E5%8B%95%E6%A9%9F" title="格仔自動機">格仔自動機</a>(<a href="/wiki/%E7%94%9F%E5%91%BD%E6%A3%8B" title="生命棋">生命棋</a>)</li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">相關領域</th><td class="navbox-list navbox-even hlist" style="text-align:left;border-left-width:2px;border-left-style:solid;width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/%E7%B3%BB%E7%B5%B1%E7%A7%91%E5%AD%B8" title="系統科學">系統科學</a></li> <li><a href="/wiki/%E8%B3%87%E8%A8%8A%E7%90%86%E8%AB%96" title="資訊理論">資訊理論</a></li> <li><a href="/wiki/%E9%81%8B%E7%AE%97%E7%90%86%E8%AB%96" title="運算理論">運算理論</a></li> <li><a href="/wiki/%E5%8D%9A%E5%BC%88%E8%AB%96" title="博弈論">博弈論</a></li> <li><a href="/wiki/%E5%9C%B0%E7%90%83%E7%A7%91%E5%AD%B8" title="地球科學">地球科學</a>(<a href="/wiki/%E5%9C%B0%E5%BD%A2%E5%AD%B8" title="地形學">地形學</a>)</li> <li><a href="/wiki/%E7%94%9F%E7%89%A9%E5%AD%B8" title="生物學">生物學</a>(<a href="/wiki/%E7%B3%BB%E7%B5%B1%E7%94%9F%E7%89%A9%E5%AD%B8" title="系統生物學">系統生物學</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%80%B2%E5%8C%96%E7%99%BC%E8%82%B2%E7%94%9F%E7%89%A9%E5%AD%B8" title="進化發育生物學">進化發育生物學</a>)</li></ul> <ul><li><a href="/wiki/%E9%80%B2%E5%8C%96%E5%8D%9A%E5%BC%88%E8%AB%96" title="進化博弈論">進化博弈論</a></li> <li><a href="/wiki/%E7%A4%BE%E6%9C%83%E7%A7%91%E5%AD%B8" title="社會科學">社會科學</a>(<a href="/wiki/%E7%90%86%E6%80%A7%E9%81%B8%E6%93%87%E7%90%86%E8%AB%96" title="理性選擇理論">理性選擇理論</a>)</li> <li><a href="/wiki/%E5%B7%A5%E7%A8%8B%E5%AD%B8" title="工程學">工程學</a></li> <li><a href="/wiki/%E6%8E%A7%E5%88%B6%E7%90%86%E8%AB%96" title="控制理論">控制理論</a></li> <li><a href="/wiki/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD" title="人工智能">人工智能</a></li> <li><a href="/wiki/%E9%80%B2%E5%8C%96%E6%A9%9F%E6%A2%B0%E4%BA%BA%E5%AD%B8" title="進化機械人學">進化機械人學</a></li> <li><a href="/wiki/%E4%BA%BA%E5%B7%A5%E7%94%9F%E5%91%BD" title="人工生命">人工生命</a></li></ul> </div></td></tr><tr><td class="navbox-abovebelow" colspan="3"><div><b>拉雜相關</b><br /> <a href="/wiki/%E5%A5%A7%E5%9D%8E%E5%89%83%E5%88%80" title="奧坎剃刀">奧坎剃刀</a>、<a href="/wiki/%E8%AA%BF%E7%AF%80%E6%95%88%E6%87%89" class="mw-redirect" title="調節效應">調節效應</a>同<a href="/wiki/%E4%B8%8D%E5%85%85%E5%88%86%E6%B1%BA%E5%AE%9A%E8%AB%96" title="不充分決定論">不充分決定論</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%A2%8E%E5%BD%A2" title="碎形">碎形</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E9%9A%A8%E6%A9%9F" title="隨機">隨機</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%86%B5" title="熵">熵</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E8%80%97%E6%95%A3%E7%B3%BB%E7%B5%B1" title="耗散系統">耗散系統</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%BB%B2%E6%B5%81" title="滲流">滲流</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E6%9C%89%E9%99%90%E7%90%86%E6%80%A7" title="有限理性">有限理性</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%AA%AE%E8%88%89%E6%90%9C%E5%B0%8B" title="窮舉搜尋">窮舉搜尋</a><span style="white-space:nowrap; font-weight:bold;">&#160;·</span> <a href="/wiki/%E7%94%9F%E6%88%90%E8%97%9D%E8%A1%93" title="生成藝術">生成藝術</a></div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐849f99967d‐9rsml Cached time: 20241124045700 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.648 seconds Real time usage: 0.862 seconds Preprocessor visited node count: 5311/1000000 Post‐expand include size: 112204/2097152 bytes Template argument size: 6268/2097152 bytes Highest expansion depth: 13/100 Expensive parser function count: 3/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 75406/5000000 bytes Lua time usage: 0.212/10.000 seconds Lua memory usage: 17169300/52428800 bytes Number of Wikibase entities loaded: 1/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 463.893 1 -total 35.46% 164.482 3 Template:Reflist 24.67% 114.420 1 Template:Cite_book 19.10% 88.625 1 Template:Lang-en 12.41% 57.580 7 Template:Navbox 7.42% 34.409 1 Template:電腦科學 7.41% 34.368 1 Template:Commonscat 6.77% 31.423 1 Template:Sister_project 6.31% 29.259 1 Template:Side_box 4.93% 22.880 5 Template:Navbox_subgroup --> <!-- Saved in parser cache with key zh_yuewiki:pcache:idhash:260419-0!canonical and timestamp 20241124045700 and revision id 2067434. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">由「<a dir="ltr" href="https://zh-yue.wikipedia.org/w/index.php?title=電腦模擬&amp;oldid=2067434">https://zh-yue.wikipedia.org/w/index.php?title=電腦模擬&amp;oldid=2067434</a>」收</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:%E5%88%86%E9%A1%9E" title="Special:分類">屬於4類</a>:<ul><li><a href="/w/index.php?title=Category:Pages_using_div_col_with_small_parameter&amp;action=edit&amp;redlink=1" class="new" title="Category:Pages using div col with small parameter (無呢版)">Pages using div col with small parameter</a></li><li><a href="/wiki/Category:%E9%9B%BB%E8%85%A6%E7%A7%91%E5%AD%B8" title="Category:電腦科學">電腦科學</a></li><li><a href="/wiki/Category:%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC" title="Category:電腦模擬">電腦模擬</a></li><li><a href="/wiki/Category:%E7%A7%91%E5%AD%B8" title="Category:科學">科學</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">屬於3隱類:<ul><li><a href="/wiki/Category:Pages_using_deprecated_source_tags" title="Category:Pages using deprecated source tags">Pages using deprecated source tags</a></li><li><a href="/wiki/Category:Webarchive%E6%A8%A1wayback%E9%80%A3%E7%B5%90" title="Category:Webarchive模wayback連結">Webarchive模wayback連結</a></li><li><a href="/wiki/Category:%E6%9C%89%E8%8B%B1%E6%96%87%E5%98%85%E6%96%87%E7%AB%A0" title="Category:有英文嘅文章">有英文嘅文章</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> 呢版上次改係2023年12月24號 (禮拜日) 11:51 嘅事。</li> <li id="footer-info-copyright">呢度嘅所有文字係根據<a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 牌照 4.0</a>嘅條款發佈;可能會有附加嘅條款。 利用呢個網站,你同意<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">利用條款</a>同埋<a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">私隱政策</a>。Wikipedia® 係<a rel="nofollow" class="external text" href="https://www.wikimediafoundation.org/">Wikimedia Foundation, Inc.</a> 嘅註冊商標,一個非牟利機構。</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">私隱政策</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:%E9%97%9C%E6%96%BC">關於維基百科</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:%E4%B8%80%E8%88%AC%E5%85%8D%E8%B2%AC%E8%81%B2%E6%98%8E">免責聲明</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">行為準則</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">開發人員</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/zh-yue.wikipedia.org">統計</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie聲明</a></li> <li id="footer-places-mobileview"><a href="//zh-yue.m.wikipedia.org/w/index.php?title=%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">手提版</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-c999fddf4-fp7s6","wgBackendResponseTime":146,"wgPageParseReport":{"limitreport":{"cputime":"0.648","walltime":"0.862","ppvisitednodes":{"value":5311,"limit":1000000},"postexpandincludesize":{"value":112204,"limit":2097152},"templateargumentsize":{"value":6268,"limit":2097152},"expansiondepth":{"value":13,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":75406,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 463.893 1 -total"," 35.46% 164.482 3 Template:Reflist"," 24.67% 114.420 1 Template:Cite_book"," 19.10% 88.625 1 Template:Lang-en"," 12.41% 57.580 7 Template:Navbox"," 7.42% 34.409 1 Template:電腦科學"," 7.41% 34.368 1 Template:Commonscat"," 6.77% 31.423 1 Template:Sister_project"," 6.31% 29.259 1 Template:Side_box"," 4.93% 22.880 5 Template:Navbox_subgroup"]},"scribunto":{"limitreport-timeusage":{"value":"0.212","limit":"10.000"},"limitreport-memusage":{"value":17169300,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-849f99967d-9rsml","timestamp":"20241124045700","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"\u96fb\u8166\u6a21\u64ec","url":"https:\/\/zh-yue.wikipedia.org\/wiki\/%E9%9B%BB%E8%85%A6%E6%A8%A1%E6%93%AC","sameAs":"http:\/\/www.wikidata.org\/entity\/Q925667","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q925667","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2021-02-18T08:03:04Z","dateModified":"2023-12-24T11:51:45Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/8\/8b\/Typhoon_Mawar_2005_computer_simulation_thumbnail.gif","headline":"\u4e00\u500b\u96fb\u8166\u7a0b\u5f0f\uff0c\u53ef\u4ee5\u91cd\u73fe\u8fd4\u6652\u7269\u7406\u904e\u7a0b\u5605\u67d0\u5572\u8de1\u8c61"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10