Difference between revisions of "NIntegral Command"

From GeoGebra Manual
Jump to: navigation, search
(changed description + rounding to 2 decimals the result)
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geogebra}}
;NIntegral[ <Function>, <Start x-Value>, <End x-Value> ]
+
;NIntegral( <Function>, <Start x-Value>, <End x-Value> )
 
:Computes (numerically) the definite integral <math>\int_a^bf(x)\mathrm{d}x</math> of the given function ''f'', from ''a'' (''Start x-Value'') to ''b'' (''End x-Value'').
 
:Computes (numerically) the definite integral <math>\int_a^bf(x)\mathrm{d}x</math> of the given function ''f'', from ''a'' (''Start x-Value'') to ''b'' (''End x-Value'').
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-x^2), 0, 1]</nowiki></code> yields ''0.75''.</div>}}
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-x^2), 0, 1]</nowiki></code> yields ''0.75''.</div>}}
Line 6: Line 6:
 
{{hint|1=In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] the following syntax can also be used:
 
{{hint|1=In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] the following syntax can also be used:
 
<br>
 
<br>
;NIntegral[ <Function>, <Variable>, <Start Value>, <End Value> ]
+
;NIntegral( <Function>, <Variable>, <Start Value>, <End Value> )
 
:Computes (numerically) the definite integral <math>\int_a^bf(t)\mathrm{d}x</math> of the given function ''f'', from ''a'' (''Start value'') to ''b'' (''End value''), with respect to the given variable.
 
:Computes (numerically) the definite integral <math>\int_a^bf(t)\mathrm{d}x</math> of the given function ''f'', from ''a'' (''Start value'') to ''b'' (''End value''), with respect to the given variable.
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-a^2), a, 0, 1]</nowiki></code> yields ''0.75''.</div>}}
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-a^2), a, 0, 1]</nowiki></code> yields ''0.75''.</div>}}
 
}}
 
}}

Revision as of 17:16, 7 October 2017


NIntegral( <Function>, <Start x-Value>, <End x-Value> )
Computes (numerically) the definite integral \int_a^bf(x)\mathrm{d}x of the given function f, from a (Start x-Value) to b (End x-Value).
Example:
NIntegral[ℯ^(-x^2), 0, 1] yields 0.75.


Note Hint: In the Menu view cas.svg CAS View the following syntax can also be used:


NIntegral( <Function>, <Variable>, <Start Value>, <End Value> )
Computes (numerically) the definite integral \int_a^bf(t)\mathrm{d}x of the given function f, from a (Start value) to b (End value), with respect to the given variable.
Example:
NIntegral[ℯ^(-a^2), a, 0, 1] yields 0.75.
© 2024 International GeoGebra Institute