Qurak

N integrate integration rules integration rule specification

Bài học 6 bước, chạy theo thứ tự trong một phiên. Từng bước đều được thực thi trên bộ máy và đầu ra bên dưới là những gì nó tạo ra.

Bước 1
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"GlobalAdaptive", Method -> "ClenshawCurtisRule"}]//InputForm
Đầu ra
InputForm[2.]
Bước 2
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"LocalAdaptive", Method -> "ClenshawCurtisRule"}]//InputForm
Đầu ra
InputForm[2.]
Bước 3
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> "LobattoKronrodRule"]//InputForm
Đầu ra
InputForm[NIntegrate[1/Sqrt[x], {x, 0, 1}, Method -> LobattoKronrodRule]]
Bước 4
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"GlobalAdaptive", Method -> "LobattoKronrodRule"}]//InputForm
Đầu ra
InputForm[2.]
Bước 5
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> "MonteCarloRule"]//InputForm
Đầu ra
InputForm[NIntegrate[1/Sqrt[x], {x, 0, 1}, Method -> MonteCarloRule]]
Bước 6
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"AdaptiveMonteCarlo", Method -> "MonteCarloRule"}]//InputForm
Đầu ra
InputForm[2.]

Các hàm được dùng

Công thức liên quan

Tất cả công thức · Tài liệu tham chiếu hàm · Dùng cái này từ một client MCP