Usage (signatures)
board.create('integral', [domain, f]);
The constructed element covers the area between the curve c and the x-axis
within the interval i.
Parameters
| Name | Type | Description |
|---|---|---|
domain |
Array | Array of length 2 containing interval bounds for the integral |
f |
Functiongraph | Function graph to be integrated. |
Example
Integral area
var domain = board.create('functiongraph', [(t) => Math.cos(t) * t]);
var integral = board.create('integral', [[-2.0, 2.0], domain]);
Attributes
Own
baseLeft
- Description
Attributes of the (left) base point of the integral.
- Type
- Point
- See
- Source
- options.js, line 6536
baseRight
- Description
Attributes of the (right) base point of the integral.
- Type
- Point
- See
- Source
- options.js, line 6567
curveLeft
- Description
Attributes of the (left) starting point of the integral.
- Type
- Point
- See
- Source
- options.js, line 6520
curveRight
- Description
Attributes of the (right) end point of the integral.
- Type
- Point
- See
- Source
- options.js, line 6551
label
- Description
Attributes for integral label.
- Type
- Label
- Default Value
{ fontSize: 20, digits: 4, intl: { enabled: false, options: {} } }- Source
- options.js, line 6582
Inherited
Members
Own
(static) baseLeft : JXG.Point
- Description
The point on the axis initially corresponding to the lower value of the interval.
- Type
- JXG.Point
- Source
- element/composition.js, line 2760
(static) baseRight : JXG.Point
- Description
The point on the axis initially corresponding to the higher value of the interval.
- Type
- JXG.Point
- Source
- element/composition.js, line 2769
(static) curveLeft : Glider
- Description
The glider on the curve corresponding to the lower value of the interval.
- Type
- Glider
- Source
- element/composition.js, line 2778
(static) curveRight : Glider
- Description
The glider on the axis corresponding to the higher value of the interval.
- Type
- Glider
- Source
- element/composition.js, line 2787
Inherited
Methods
Own
(static) Value() → {Number}
Returns the current value of the integral.
Returns
- Type
- Number
Details
- Source
- element/composition.js, line 2664
Inherited
Events
Own
none
Inherited
Throws
-
If the element cannot be constructed with the given parent objects an exception is thrown.
- Type
- Error
Details
- Type
- JXG.Curve
- Source
- element/composition.js, line 2419