Posts

Sec.4.7 - Planes and birds: Minimizing energy

Applied Project 2 in Sec.4.7, Calculus by Stewart
Chinese version: 飛機和鳥:能量最小化

Small birds like finches alternate between flapping …

Julia 學習筆記 - 畫圖

延伸閱讀: Julia 學習筆記 - 簡介, 畫圖, 計時


底下的幾個例子我們將學習怎麼使用繪圖指令.

畫圖的時候我們會用到 Plots 這個 package,因此在第一行我們需要加上:

using Plots

以下我們舉幾個簡單的範例來看看如何操作.

Julia 學習筆記 - 計時

延伸閱讀: Julia 學習筆記 - 簡介, 畫圖, 計時


這裡我們要介紹 julia 計算程式執行時間的指令.

簡單來說,julia 計算程式運行效能有幾個指令:

  • @time 顯示出程式運行的秒數以及記憶體的使用狀況
  • @timed 顯示程式執行回傳值,秒 …

Sec.4.7 - The shape of a can

Applied Project 1 in Sec.4.7, Calculus by Stewart
Chinese version: 罐頭的形狀

Given a cylindrical can with fixed volume $v$, we want to …

數值積分初探

在微積分課程裡我們有學到積分的’中點法’, ‘梯形法’以及’辛普森法’. 這裡我們簡介一些基本概念並且引進高斯積分法.

不定積分的悖論?

這幾天有個朋友問我一個關於不定積分的問題, 看起來很詭異. 我們一起來看看.

我們以分部積分(integration by part)來求 $\tan$ 的不定積分 $\int \tan(x)\ dx$.

Sec.3.4 - Where should a pilot start descent?

Applied Project in Sec.3.4, Calculus by Stewart
Chinese version: 飛行員應該何時開始下降高度?

An approach path for an aircraft landing is shown …

Fixed point iteration

這裡我們介紹固定點迭代法 (Fixed point iteration)

首先我們介紹什麼是固定點 (Fixed point)

Definition: Fixed point

A fixed point of a function $f(x)$ is a …

git 學習筆記

這裡我們要介紹 git 這個分散式版本控制軟體. 有人可能會聽過 ‘github’. 不過這邊要提醒一下 git 跟 github 是不一樣的兩件事. 簡單的說 git 是一個軟體, 而 github 則是提供線上 git 服務的公司.

Julia 學習筆記

延伸閱讀: Julia 學習筆記 - 簡介, 畫圖, 計時


這裡我們要介紹 julia 這個程式語言. 這是一個非常新的語言, 在 2009 年才問世, 遠比 1990 年出生的 python 來的年輕許多. 不過由於它又快又簡單, 又不用錢, 使得目前有越來 …