Difference between revisions of "NIntegral Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
{{command|geogebra}}
+
{{command|geogebra}}
 
==CAS Syntax==
 
==CAS Syntax==
;NIntegral[ <Function f>, <Start x-Value a>, <End x-Value b> ]
+
;NIntegral[ <Function>, <Start x-Value>, <End x-Value> ]
:Computes the definite integral <math>\int_a^bf(x)\mathrm{d}x</math> numerically.
+
:Let ''a'' be the ''Start x-Value'', ''b'' be the ''End x-Value'' and ''f'' the ''Function''. NIntegral-command 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''.</div>}}
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-x^2), 0, 1]</nowiki></code> yields ''0.746824132812427''.</div>}}
;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.
+
;NIntegral[ <Function>, <Variable>, <Start Value>, <End Value> ]
 +
:Let ''a'' be the ''Start x-Value'', ''b'' be the ''End x-Value'', ''f'' the ''Function'' and ''t'' the ''Variable'' to integrate. NIntegral-command 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''.</div>}}
 
:{{example| 1=<div><code><nowiki>NIntegral[ℯ^(-a^2), a, 0, 1]</nowiki></code> yields ''0.746824132812427''.</div>}}

Revision as of 07:04, 10 July 2013



CAS Syntax

NIntegral[ <Function>, <Start x-Value>, <End x-Value> ]
Let a be the Start x-Value, b be the End x-Value and f the Function. NIntegral-command computes the definite integral \int_a^bf(x)\mathrm{d}x numerically.
Example:
NIntegral[ℯ^(-x^2), 0, 1] yields 0.746824132812427.


NIntegral[ <Function>, <Variable>, <Start Value>, <End Value> ]
Let a be the Start x-Value, b be the End x-Value, f the Function and t the Variable to integrate. NIntegral-command computes the definite integral \int_a^bf(t)\mathrm{d}t numerically.
Example:
NIntegral[ℯ^(-a^2), a, 0, 1] yields 0.746824132812427.
© 2024 International GeoGebra Institute