Difference between revisions of "NIntegral Command"
From GeoGebra Manual
(The basic syntax works outside of CAS too.) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}</noinclude> | <noinclude>{{Manual Page|version=4.2}}</noinclude> | ||
{{command|geogebra}} | {{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== | ==CAS Syntax== | ||
;NIntegral[ <Function>, <Start x-Value>, <End x-Value> ] | ;NIntegral[ <Function>, <Start x-Value>, <End x-Value> ] |
Revision as of 00:21, 15 June 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.
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.