透過 MCP 連接 →

輸入計算

數學公式

廣告

結果

已產生誤差函數表
51
rows  |  x from 0 to 5
x erf(x) erfc(x)
0 0 1
0.1 0.112463 0.887537
0.2 0.2227025 0.7772975
0.3 0.3286267 0.6713733
0.4 0.4283924 0.5716076
0.5 0.5205 0.4795
0.6 0.6038562 0.3961438
0.7 0.6778012 0.3221988
0.8 0.7421009 0.2578991
0.9 0.7969081 0.2030919
1 0.8427007 0.1572993
1.1 0.880205 0.119795
1.2 0.910314 0.089686
1.3 0.9340081 0.0659919
1.4 0.9522853 0.0477147
1.5 0.9661053 0.0338947
1.6 0.9763485 0.0236515
1.7 0.9837905 0.0162095
1.8 0.9890905 0.0109095
1.9 0.9927903 0.0072097
2 0.9953221 0.0046779
2.1 0.9970204 0.0029796
2.2 0.998137 0.001863
2.3 0.9988567 0.0011433
2.4 0.9993114 0.0006886
2.5 0.999593 0.000407
2.6 0.9997639 0.0002361
2.7 0.9998656 0.0001344
2.8 0.999925 0.000075
2.9 0.9999589 0.0000411
3 0.9999779 0.0000221
3.1 0.9999883 0.0000117
3.2 0.999994 0.000006
3.3 0.9999969 0.0000031
3.4 0.9999985 0.0000015
3.5 0.9999993 0.0000007
3.6 0.9999996 0.0000004
3.7 0.9999998 0.0000002
3.8 0.9999999 0.0000001
3.9 1 0
4 1 0
4.1 1 0
4.2 1 0
4.3 1 0
4.4 1 0
4.5 1 0
4.6 1 0
4.7 1 0
4.8 1 0
4.9 1 0
5 1 0

什麼是誤差函數表計算器?

這個工具會針對一連串 x 值,建立高斯誤差函數 erf(x) 與互補誤差函數 erfc(x) 的數值表。誤差函數廣泛出現在機率、統計、熱傳導與擴散問題中。由於它是純粹的數學特殊函數,因此在世界各地的計算結果完全一致,不受任何國家或地區規則影響。

兩條 S 形曲線:erf 從 -1 升到 1,erfc 從 2 降到 0
erf(x) 從 -1 升到 1,而互補函數 erfc(x) 從 2 降到 0。

如何使用

請輸入三個數字:x 的初始值(第一列)、每一列遞增加到 x 上的增量,以及疊代次數(列數)。計算器會依公式 \(x = \text{起始值} + i \times \text{增量}\)(\(i = 0, 1, \dots, \text{列數}-1\))產生各列數值,並列出每一列的 erf(x) 與 erfc(x)。增量可以是負數(產生遞減的表格),也可以是零(所有列數值相同)。

計算公式

$$\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}} \int_{0}^{x} e^{-t^{2}}\,dt, \qquad \operatorname{erfc}(x) = 1 - \operatorname{erf}(x)$$本工具採用 Abramowitz & Stegun 7.1.26 的有理函數近似式計算(最大誤差約為 \(1.5 \times 10^{-7}\)),並利用奇對稱性質 \(\operatorname{erf}(-x) = -\operatorname{erf}(x)\) 來處理負值參數。

Advertisement
鐘形曲線,從 0 到 x 的曲線下面積被填滿
erf(x) 與高斯曲線 e^(-t²) 從 0 到 x 之間的面積成正比。

實際範例

當初始值為 0、增量為 0.5、列數為 5 時,會得到 \(x = 0, 0.5, 1.0, 1.5, 2.0\)。其中 \(\operatorname{erf}(1.0) \approx 0.8427008\),\(\operatorname{erfc}(1.0) \approx 0.1572992\),兩者相加 \(\operatorname{erf}(1.0) + \operatorname{erfc}(1.0) = 1\),正好驗證了這項恆等式。

常見問題

erf 的取值範圍是多少?\(\operatorname{erf}(x)\) 介於 \((-1, 1)\) 之間;\(\operatorname{erf}(0) = 0\)、\(\operatorname{erf}(+\infty) = 1\)、\(\operatorname{erf}(-\infty) = -1\)。

那 erfc 呢?\(\operatorname{erfc}(x)\) 介於 \((0, 2)\) 之間:\(\operatorname{erfc}(0) = 1\)、\(\operatorname{erfc}(+\infty) = 0\)、\(\operatorname{erfc}(-\infty) = 2\)。

最多可以產生多少列?列數必須是正整數;為了讓輸出結果便於閱讀,表格上限為 2000 列。

最後更新: