Difference between revisions of "NIntegral Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (changed CAS syntax description)
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> ]
 
: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.
 
==CAS Syntax==
 
 
;NIntegral[ <Function>, <Start x-Value>, <End x-Value> ]
 
;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 <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>}}
  
 +
{{hint|1=In the [[File:Menu view cas.svg|link=|16px]] [[CAS View]] the following syntax can also be used:
 +
<br>
 
;NIntegral[ <Function>, <Variable>, <Start Value>, <End Value> ]
 
;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.
 
: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 14:59, 2 September 2015


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.


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


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