Class Integral
Extends
JXG.Curve.
This element is used to visualize the integral of a given curve over a given interval.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Integral(i,c)
The Integral element is used to visualize the area under a given curve over a given interval
and to calculate the area's value.
|
Field Attributes | Field Name and Description |
---|---|
The point on the axis initially corresponding to the lower value of the interval.
|
|
The point on the axis initially corresponding to the higher value of the interval.
|
|
The glider on the curve corresponding to the lower value of the interval.
|
|
The glider on the axis corresponding to the higher value of the interval.
|
- Fields borrowed from class JXG.Curve:
- curveType, handDrawing, numberPoints
- Fields borrowed from class JXG.GeometryElement:
- addEvent, ancestors, board, childElements, descendants, draft, dump, elementClass, elType, eventHandlers, fillOpacity, fixed, frozen, getAttribute, hasLabel, highlighted, highlightFillOpacity, highlightStrokeOpacity, highlightStrokeWidth, id, isDraggable, isReal, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, scalable, stdform, strokeOpacity, subs, symbolic, trace, traceAttributes, traces, transformations, type, visProp, withLabel
- Methods borrowed from class JXG.Curve:
- addTransform, allocatePoints, generateTerm, hasPoint, isDistOK, isSegmentOutside, maxX, minX, notifyParents, setPosition, setPositionDirectly, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateRenderer, updateTransform, Z
- Methods borrowed from class JXG.GeometryElement:
- addChild, addRotation, animate, bounds, clearTrace, cloneToBackground, createLabel, dash, fillColor, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, highlight, highlightFillColor, highlightStrokeColor, labelColor, noHighlight, off, on, remove, resolveShortcuts, setArrow, setAttribute, setLabelText, setProperty, shadow, showElement, snapToGrid, strokeColor, strokeWidth, triggerEventHandlers, visible
- Events borrowed from class JXG.GeometryElement:
- attribute, attribute:<attribute><attribute>, down, drag, mousedown, mousedrag, mousemove, mouseout, mouseover, mouseup, move, out, over, touchdown, touchdrag, touchup, up
Class Detail
Integral(i,c)
The Integral element is used to visualize the area under a given curve over a given interval
and to calculate the area's value. For that a polygon and gliders are used. The polygon displays the area,
the gliders are used to change the interval dynamically.
var c1 = board.create('functiongraph', [function (t) { return t*t*t; }]); var i1 = board.create('integral', [[-1.0, 4.0], c1]);
- Parameters:
- {Array_JXG.Curve} i,c
- The constructed element covers the area between the curve c and the x-axis within the interval i.
- Throws:
- {Error}
- If the element cannot be constructed with the given parent objects an exception is thrown.
Field Detail
{JXG.Point}
baseLeft
The point on the axis initially corresponding to the lower value of the interval.
{JXG.Point}
baseRight
The point on the axis initially corresponding to the higher value of the interval.
{Glider}
curveLeft
The glider on the curve corresponding to the lower value of the interval.
{Glider}
curveRight
The glider on the axis corresponding to the higher value of the interval.