1. 程式人生 > 實用技巧 >5507. 【清華冬令營2018模擬】取石子

5507. 【清華冬令營2018模擬】取石子

<header class="header" itemscope="" itemtype="http://schema.org/WPHeader">
  <div class="header-inner"><div class="site-brand-container">
<a href="/" class="brand" rel="start" style="opacity: 1;">
  <span class="logo-line-before"><i></i></span>
  <h1 class="site-title" style="opacity: 1; top: 0px;">gyro永不抽風</h1>
  <span class="logo-line-after"><i></i></span>
</a>
  <p class="site-subtitle" itemprop="description" style="opacity: 1; top: 0px;">ああああああああああああああああおおおおおおおおおおおおおおおお</p>
</div>

<main class="main">
  <div class="main-inner">
    <div class="content-wrap">
      

      <div class="content post posts-expand">
<span hidden="" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
  <meta itemprop="image" content="/images/avatar.JPG">
  <meta itemprop="name" content="Haoyun Qin">
  <meta itemprop="description" content="更新?咕咕咕...">
</span>

<span hidden="" itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
  <meta itemprop="name" content="gyro永不抽風">
</span>
  <header class="post-header" style="opacity: 1; display: block; transform: translateY(0px);">
    <h1 class="post-title" itemprop="name headline">
      AP Calculus - 考前學的微分方程
    </h1>

    <div class="post-meta">
        <span class="post-meta-item">
          <span class="post-meta-item-icon">
            <i class="far fa-calendar"></i>
          </span>
          <span class="post-meta-item-text">發表於</span>
          

          <time title="建立時間:2020-04-18 16:40:59 / 修改時間:20:41:58" itemprop="dateCreated datePublished" datetime="2020-04-18T16:40:59+08:00">2020-04-18</time>
        </span>

    </div>
  </header>




<div class="post-body" itemprop="articleBody" style="opacity: 1; display: block; transform: translateY(0px);">

  
    <h1 id="緒論"><a href="#緒論" class="headerlink" title="緒論"></a>緒論</h1><p>本來因該在去年暑假就把所有東西全部自學完的,但是那個時候太忙太懶,於是乎心理安慰自己學完了。但是,馬上考試了,不學就卒,遂花了兩小時學。</p>

微分方程

有時我們需要通過未知函式及其導數所滿足的關係式去求未知函式,這種關係是就是微分方程。例如:

但上面這個方程在這裡不做討論,因為不考。

通解、特解

微分方程的解有兩種形式,一種解是含有任意常數且任意常數的個數正好與方程的階數相同,這樣的解成為微分方程的通解(General Solution)。另一種解中不含任意常數,稱為特解(Specific Solution),通常可按照問題所給的條件從通解中確定任意常數的待定值來求特解。

注:在考慮通解中,並不需要考慮其是否處處可微(比如一些隱函式,圓的方程),但是特解需要考慮。例如:通解可以是 但特解要寫成:(其中取)

解微分方程

在這裡,我們只討論形如

其中皆在考慮的範圍內連續。這種形式的方程,我們稱其為 可分離變數的一劫微分方程,因為其可以轉換為

的形式。

求解的方法即為對兩邊分別積分:

斜率場 - Slope Fields

Slope field is a set of little line segments in the coordinate system representing the slope of tangent lines for the solution curves of a given differential equation. Moreover, it is a graphical tool intended to find out the solution to the differential equations, generally at first order.

斜率場(slope field)是座標系當中一組小的線段,代表的是一個微分方程(differential equation)的函式解(solutions)的影象(solution curves)的影象的切線的斜率。

作者:commontolerance
連結:https://www.zhihu.com/question/53824255/answer/1029489348
來源:知乎
著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。

解題方法總結:

  • 關注某些特殊點,例如
  • 關注,之間的關係
  • 觀察,是否獨立,比方說影象是否可以直接水平平移或者豎直平移
  • 觀察變化趨勢

尤拉方法 - Euler’s Method

總結:使用點斜率和一個Initial Point來估算原函式。例如一個函式,其導數為。已知在其影象上,那麼以為步長,可以估算出原函式的幾個點:

指數增長和衰減 - Exponential Growth & Decay

滿足

的函式,就符合指數型地增長或衰減。其中,當時為Exponential Growth,時為Exponential Decay。

之所以稱其為指數型增長,是因為原函式

特點:

有限增長 - Restricted Growth

滿足

的函式,符合Restricted Growth,其原函式為:

特點:

對數增長 - Logistic Growth

滿足

的函式符合Logistic Growth。原函式為:

特點:

<div>
    
        <div style="text-align:center;color: #ccc;font-size:14px;">__EOF__</div>
        <div style="text-align:center;color: #ccc;font-size:14px;">-------------本文結束<i class="fa fa-paw"></i>感謝您的閱讀-------------</div>
    
</div>
相關文章
  <style>

.my_post_copyright {
width: 85%;
max-width: 45em;
margin: 2.8em auto 0;
padding: 0.5em 1.0em;
border: 1px solid #d3d3d3;
font-size: 0.93rem;
line-height: 1.6em;
word-break: break-all;
background: rgba(255,255,255,0.4);
}
.my_post_copyright p{margin:0;}
.my_post_copyright span {
display: inline-block;
width: 5.2em;
color: #b5b5b5;
font-weight: bold;
}
.my_post_copyright .raw {
margin-left: 1em;
width: 5em;
}
.my_post_copyright a {
color: #a3d2a3;
border-bottom:0;
}
.my_post_copyright a:hover {
color: #a3d2a3;
text-decoration: underline;
}
.my_post_copyright:hover .fa-clipboard {
color: #000;
}
.my_post_copyright .post-url:hover {
font-weight: normal;
}
.my_post_copyright .copy-path {
margin-left: 1em;
width: 1em;
+mobile(){display:none;}
}
.my_post_copyright .copy-path:hover {
color: #808080;
cursor: pointer;
}

本文標題:AP Calculus - 考前學的微分方程

文章作者:

釋出時間:2020年04月18日 - 16:04

最後更新:2020年04月18日 - 20:04

原始連結:http://gyrojeff.moe/2020/04/18/AP-Calculus-%E8%80%83%E5%89%8D%E5%AD%A6%E7%9A%84%E5%BE%AE%E5%88%86%E6%96%B9%E7%A8%8B/

許可協議: 署名-非商業性使用-相同方式共享 4.0 國際 (CC BY-NC-SA 4.0) 轉載請保留原文連結及作者!

    <div class="reward-container">
真的不買杯奶茶嗎?T^T
  <div style="display: inline-block;">
    <img src="/images/wechatpay.JPG" data-original="/images/wechatpay.JPG" alt="Haoyun Qin 微信支付">
    <p>微信支付</p>
  </div>
  
  <div style="display: inline-block;">
    <img src="/images/alipay.JPG" data-original="/images/alipay.JPG" alt="Haoyun Qin 支付寶">
    <p>支付寶</p>
  </div>
  <footer class="post-footer">
      
      <div class="post-tags">
          <a href="/tags/Calculus/" rel="tag"><i class="fa fa-tag"></i> Calculus</a>
      </div>
<div class="post-nav">
  <div class="post-nav-item">
<a href="/2020/04/18/200417-%E5%B8%82%E5%9C%B0%E7%90%86%E8%AF%BE/" rel="prev" title="200417-市地理課">
  <i class="fa fa-chevron-left"></i> 200417-市地理課
</a></div>
  <div class="post-nav-item">
<a href="/2020/04/19/AP-CSA-2020/" rel="next" title="AP CSA 2020">
  AP CSA 2020 <i class="fa fa-chevron-right"></i>
</a></div>
</div>
  </footer>



    <div id="comple-dark-button-wrap" style="z-index: 100000; position: fixed; right: 20px; bottom: 20px;">
        <style>
            .control-mask-button {
                display: block;
                width: 42px;
                height: 42px;
                line-height: 42px;
                color: #ff8572;
                background: #ffd9d3;
                box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
                width: 2.5em;
                height: 2.5em;
                line-height: 2.5em;
                border-radius: 50%;
                -webkit-transform: translateZ(0);
                transform: translateZ(0);
                overflow: hidden;
                position: relative;
                cursor: pointer;
                display: inline-block;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                -webkit-tap-highlight-color: transparent;
            }
            .control-mask-button:hover {
                color: #FFBDFF;
                transition-duration: 0.5s;
            }
        </style>
        <a href="javascript:;" id="jeffMaskControl" class="control-mask-button"></a>
        <script>
            var click_time = 0;
            
            document.querySelector('a[id="jeffMaskControl"]').addEventListener('click', function(){
                click_time += 1;
                var content_wrap = document.getElementsByClassName('content-wrap')[0];
                if (click_time % 2 == 1) {
                    content_wrap.style.cssText += 'background: rgba(175,210,237,1);';
                } else {
                    content_wrap.style.cssText += 'background: rgba(175,210,237,0);';
                }
            })
        </script>
    </div>
      </div>
      
  <div class="tabs tabs-comment">
    <ul class="nav-tabs">
        <li class="tab active"><a href="#comment-disqus">disqus</a></li>
        <li class="tab"><a href="#comment-gitalk">gitalk</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane disqus active" id="comment-disqus">
        </div>
        <div class="tab-pane gitalk" id="comment-gitalk">
          <div class="comments" id="gitalk-container" style="opacity: 1; display: block;"><div class="gt-container"><div class="gt-meta"><span class="gt-counts"><a class="gt-link gt-link-counts" href="https://github.com/JeffersonQin/JeffersonQin.github.io/issues/11" target="_blank">0</a> 條評論</span><div class="gt-user"><div class="gt-user-inner"><span class="gt-user-name">JeffersonQin</span><span class="gt-ico gt-ico-arrdown"><span class="gt-svg"><svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="1619"><path d="M511.872 676.8c-0.003 0-0.006 0-0.008 0-9.137 0-17.379-3.829-23.21-9.97l-251.277-265.614c-5.415-5.72-8.743-13.464-8.744-21.984 0-17.678 14.33-32.008 32.008-32.008 9.157 0 17.416 3.845 23.25 10.009l228.045 241.103 228.224-241.088c5.855-6.165 14.113-10.001 23.266-10.001 8.516 0 16.256 3.32 21.998 8.736 12.784 12.145 13.36 32.434 1.264 45.233l-251.52 265.6c-5.844 6.155-14.086 9.984-23.223 9.984-0.025 0-0.051 0-0.076 0z" p-id="1620"></path></svg></span></span></div></div></div><div class="gt-header"><div class="gt-avatar gt-header-avatar"><img src="https://avatars2.githubusercontent.com/u/30655701?v=4" alt="@JeffersonQin"></div><div class="gt-header-comment"><textarea class="gt-header-textarea " placeholder="說點什麼" style="overflow-x: hidden; overflow-wrap: break-word; resize: none;"></textarea><div class="gt-header-preview markdown-body hide"></div><div class="gt-header-controls"><a class="gt-header-controls-tip" href="https://guides.github.com/features/mastering-markdown/" target="_blank"><span class="gt-ico gt-ico-tip"><span class="gt-svg"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">





支援 Markdown 語法

來做第一個留言的人吧!




    </div>
  </div>
</main>

<footer class="footer">
  <div class="footer-inner">

©
2020



Haoyun Qin



457k



6:56

Hexo & NexT.Gemini 強力驅動
  </div>
</footer>