Difference between revisions of "NIntegral Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;NIntegral[ <Function f>, <Start x-Value a>, <End x-Value b> ]
 
;NIntegral[ <Function f>, <Start x-Value a>, <End x-Value b> ]
 
:Computes the definite integral <math>\int_a^bf(x)\mathrm{d}x</math> numerically.
 
:Computes the definite integral <math>\int_a^bf(x)\mathrm{d}x</math> numerically.
 +
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-x^2), 0, 1]</nowiki></code> yields ''0.746824132812427''.
 
;NIntegral[ <Function f>, <Variable t>, <Start variable-Value a>, <End variable-Value b> ]
 
;NIntegral[ <Function f>, <Variable t>, <Start variable-Value a>, <End variable-Value b> ]
 
:Computes the definite integral <math>\int_a^bf(t)\mathrm{d}t</math> numerically.
 
:Computes the definite integral <math>\int_a^bf(t)\mathrm{d}t</math> numerically.
 +
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-a^2), a, 0, 1]</nowiki></code> yields ''0.746824132812427''.

Revision as of 11:46, 22 August 2011


This command works in CAS View only.

NIntegral[ <Function f>, <Start x-Value a>, <End x-Value b> ]
Computes the definite integral \int_a^bf(x)\mathrm{d}x numerically.
{{example| 1=
NIntegral[ℯ^(-x^2), 0, 1] yields 0.746824132812427.
NIntegral[ <Function f>, <Variable t>, <Start variable-Value a>, <End variable-Value b> ]
Computes the definite integral \int_a^bf(t)\mathrm{d}t numerically.
{{example| 1=
NIntegral[ℯ^(-a^2), a, 0, 1] yields 0.746824132812427.
© 2024 International GeoGebra Institute