---
title: "數值積分 - 定積分數值計算，支援梯形法、辛普森法與辛普森 3/8 法。 - AllTools - 全能工具箱"
description: "數值積分工具支援梯形法、辛普森法與辛普森 3/8 法計算定積分，並可比較三種方法的結果與誤差。 輸入資料即可得到結果，計算在本地端完成。 結果保留精度，可直接複製使用。"
canonical_url: "https://tool.warmday.wang/zh-Hant/math/integration"
meta:
  author: AllTools
  keywords: "線上工具箱, AllTools, 實用工具, 生活常用, 數學計算, 文字處理, 圖片處理, 開發者工具, PDF 工具, 單位換算, 免費工具, 免登入工具"
  "og:description": "數值積分工具支援梯形法、辛普森法與辛普森 3/8 法計算定積分，並可比較三種方法的結果與誤差。 輸入資料即可得到結果，計算在本地端完成。 結果保留精度，可直接複製使用。"
  "og:image": "https://tool.warmday.wang/img/og-cover.png"
  "og:image:alt": "AllTools - 全能工具箱 Logo"
  "og:image:height": "630"
  "og:image:width": "1200"
  "og:title": "數值積分 - 定積分數值計算，支援梯形法、辛普森法與辛普森 3/8 法。"
  "twitter:image": "https://tool.warmday.wang/img/og-cover.png"
---

> Index of every page on this site: [llms.txt](https://tool.warmday.wang/llms.txt)

# **數值積分**

定積分數值計算，支援梯形法、辛普森法與辛普森 3/8 法。

**積分設定**

**被積函數 f(x)**

**下限 a**

**上限 b**

**分割數 n**

**計算方法**

**快速範例**

**方法說明**

- **梯形法：**將區間 n 等分，以梯形面積近似積分，精度 O(h²)。
- **辛普森法：**以二次函數擬合，精度 O(h⁴)，n 需為偶數。
- **辛普森 3/8 法：**以三次函數擬合，精度 O(h⁴)，n 需為 3 的倍數。
- 分割數 n 越大，結果越精確，但計算量也越大。
- 支援函數：sin、cos、tan、log、log2、log10、sqrt、abs、exp、pow，常數 PI、E，^ 表示次方。

### **使用說明**

#### **功能介紹**

數值積分工具支援梯形法、辛普森法與辛普森 3/8 法計算定積分，並可比較三種方法的結果與誤差。

#### **操作步驟**

輸入被積函數 f(x) → 輸入積分下限、上限與分割數 → 選擇計算方法 → 點擊「計算」查看結果；選擇「方法比較」可同時查看三種方法的結果。

#### **注意事項**

所有計算在瀏覽器本地端完成；分割數越大越精確，但也更耗時；函數語法錯誤時會顯示提示；上限需大於下限。

## **同類工具**

同一個分類下還有這些 · 數學計算

[**科學記號轉換**在一般數字與科學記號之間互轉，支援正負指數與有效位數設定，處理極大或極小數值時更省力。](https://tool.warmday.wang/zh-Hant/math/scientific-notation) [**羅馬數字轉換**阿拉伯數字與羅馬數字雙向轉換，支援 1 到 3999 的範圍，也可解析字母組合對應的數值。](https://tool.warmday.wang/zh-Hant/math/roman-numeral) [**科學計算機**線上科學計算機，支援三角/對數/階乘等](https://tool.warmday.wang/zh-Hant/math/calculator) [**分數計算機**分數的加減乘除與化簡一次完成，自動約分並轉為帶分數或小數，計算食譜比例與數學作業都方便。](https://tool.warmday.wang/zh-Hant/math/fraction) [**百分比計算機**計算百分比、折扣、增減幅與占比，輸入兩個數值即可得出變化率，購物與報表分析快速得到答案。](https://tool.warmday.wang/zh-Hant/math/percentage) [**比例計算機**比例求解 A:B = C:D](https://tool.warmday.wang/zh-Hant/math/proportion)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://tool.warmday.wang/#organization","name":"AllTools","alternateName":"AllTools - 全能工具箱","url":"https://tool.warmday.wang/","logo":{"@type":"ImageObject","url":"https://tool.warmday.wang/img/logo.png","width":512,"height":512}},{"@type":"WebSite","@id":"https://tool.warmday.wang/zh-Hant#website","url":"https://tool.warmday.wang/zh-Hant","name":"AllTools - 全能工具箱","inLanguage":"zh-Hant","publisher":{"@id":"https://tool.warmday.wang/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://tool.warmday.wang/zh-Hant?q={search_term_string}"},"query-input":"required name=search_term_string"}},{"@type":"WebPage","@id":"https://tool.warmday.wang/zh-Hant/math/integration#webpage","url":"https://tool.warmday.wang/zh-Hant/math/integration","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant#website"},"inLanguage":"zh-Hant","name":"數值積分 - 定積分數值計算，支援梯形法、辛普森法與辛普森 3/8 法。","description":"數值積分工具支援梯形法、辛普森法與辛普森 3/8 法計算定積分，並可比較三種方法的結果與誤差。 輸入資料即可得到結果，計算在本地端完成。 結果保留精度，可直接複製使用。"},{"@type":"SoftwareApplication","@id":"https://tool.warmday.wang/zh-Hant/math/integration#app","name":"數值積分 - 定積分數值計算，支援梯形法、辛普森法與辛普森 3/8 法。","description":"數值積分工具支援梯形法、辛普森法與辛普森 3/8 法計算定積分，並可比較三種方法的結果與誤差。 輸入資料即可得到結果，計算在本地端完成。 結果保留精度，可直接複製使用。","url":"https://tool.warmday.wang/zh-Hant/math/integration","applicationCategory":"UtilitiesApplication","operatingSystem":"Web","inLanguage":"zh-Hant","isPartOf":{"@id":"https://tool.warmday.wang/zh-Hant/math/integration#webpage"},"offers":{"@type":"Offer","price":"0","priceCurrency":"CNY"}},{"@type":"BreadcrumbList","@id":"https://tool.warmday.wang/zh-Hant/math/integration#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"首頁","item":"https://tool.warmday.wang/zh-Hant"},{"@type":"ListItem","position":2,"name":"數學計算","item":"https://tool.warmday.wang/zh-Hant/math"},{"@type":"ListItem","position":3,"name":"數值積分","item":"https://tool.warmday.wang/zh-Hant/math/integration"}]}]}
```

## Sitemap

See the full [sitemap](https://tool.warmday.wang/sitemap.md) for all pages.
