Qurak

N integrate integration rules integration rule specification

Tutorial 6 Schritte, der Reihe nach in einer Sitzung ausgeführt. Jeder Schritt wurde gegen die Engine ausgeführt, und die Ausgabe unten ist, was er erzeugte.

Schritt 1
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"GlobalAdaptive", Method -> "ClenshawCurtisRule"}]//InputForm
Ausgabe
InputForm[2.]
Schritt 2
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"LocalAdaptive", Method -> "ClenshawCurtisRule"}]//InputForm
Ausgabe
InputForm[2.]
Schritt 3
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> "LobattoKronrodRule"]//InputForm
Ausgabe
InputForm[NIntegrate[1/Sqrt[x], {x, 0, 1}, Method -> LobattoKronrodRule]]
Schritt 4
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"GlobalAdaptive", Method -> "LobattoKronrodRule"}]//InputForm
Ausgabe
InputForm[2.]
Schritt 5
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> "MonteCarloRule"]//InputForm
Ausgabe
InputForm[NIntegrate[1/Sqrt[x], {x, 0, 1}, Method -> MonteCarloRule]]
Schritt 6
NIntegrate[1 / Sqrt[x], {x, 0, 1}, Method -> {"AdaptiveMonteCarlo", Method -> "MonteCarloRule"}]//InputForm
Ausgabe
InputForm[2.]

Verwendete Funktionen

Verwandte Rezepte

Alle Rezepte · Funktionsreferenz · Dies aus einem MCP-Client verwenden