|
Explore - explore mathematical expressions and plots
|
|
Calling Sequence
|
|
Explore(expr)
Explore(expr, opts )
|
|
|
Parameters
|
|
|
expr
|
-
|
anything; the expression or function call to explore
|
|
opts
|
-
|
options, described below
|
|
|
|
|
|
Options
|
|
|
•
|
parameters = ::list(name=range)
|
|
|
A list of equations specifying ranges for each named parameter. The ranges are used in slider components which allow the parameters to vary in value.
|
|
|
If the parameters option is not supplied then a dialogue appears which queries for individual numeric ranges for the parameters.
|
|
|
If both endpoints of a parameter's range are integers then the associated slider will take on only integer values. If either endpoint of a parameter's range is entered as a non-integer value (such as Pi, 4/7, or sqrt(2)) then evalf is applied to both endpoints of that range and the associated slider will take on floating-point values.
|
|
|
In the dialogue a check box labeled skip is used to exclude a given name from the exploration. In each evaluation of expr that name will not be substituted with a generated value.
|
|
•
|
initialvalues = ::list(name=realcons)
|
|
•
|
A list of equations specifying parameter values used in the initial evaluation of expr and as the initial values for the slider components.
|
|
|
By default the left endpoints of the slider ranges are used for all parameters whose initial values are not specified by this option. If expr fails to evaluate without error then the right endpoints of the slider ranges are used for all parameters whose initial values are not specified by this option..
|
|
|
This option specifies whether evalf is applied around each individual evaluation of expr. In the pop-up dialogue a check box labeled floating-point computation can also specify this behavior. This behavior is distinct from whether the parameters take on floating-point values.
|
|
•
|
echoexpression = ::truefalse
|
|
|
This option specifies whether the unevaluated expression appears on the left-hand side of a equation displayed in the embedded MathContainer component. The default value is true. This option has no effect in the case of an embedded plot.
|
|
|
This option controls whether the exploration components to be opened in a new Document. By default the embedded components for the exploration, including the sliders for all the selected parameters, are embedded in the current Worksheet or Document at a position following the execution point.
|
|
|
A string used as a title for the embedded worksheet Table. By default no title will appear.
|
|
|
A string inserted in as plaintext description of the interactive interface. The description appears as text in a top row of the Table. By default no description appears.
|
|
•
|
showbanner =::truefalse
|
|
|
This option controls whether the graphic banner image appears in the case that the exploratory interface is launched in a new Document. By default the banner will appear at the top of a newly launched Document. No banner is included for the default case of the exploratory interface embedded into the current worksheet.
|
|
|
This option controls whether the XML worksheet source comprising the exploratory interface is the return value of the Explore command. The default behavior is that the return value is NULL.
|
|
|
|
Description
|
|
|
•
|
The Explore command takes an arbitrary Maple expression or plotting command and displays an interactive interface to explore its evaluation at varying values of its unspecified parameters. The interactive interface for the exploration is comprised of various embedded components within a Standard GUI Table.
|
|
|
Slider components allow for the values of the parameters to be changed. The result of evaluating the expression or plot at the values specified by the sliders is displayed in a MathContainer or a PlotComponent.
|
|
|
A plotting command to be explored can be a function call to plot, plot3d, a command in the plots package, or any user-defined procedure which returns a 2D or 3D plot structure.
|
|
•
|
The embedded component interface is not the return value of the Explore command. The default return value is NULL.
|
|
•
|
Note: This feature only works in the Maple Standard Worksheet interface.
|
|
|
|
Compatibility
|
|
|
•
|
The parameters, initialvalues, numeric, echoexpression, newsheet, title, overview, showbanner and returnxml options were introduced in Maple 17.
|
|
|
|
Examples
|
|
|
>
|
|
|
>
|
|
|
>
|
|
In the next example, select the skip check box for the variable x in the pop-up dialogue.
|
>
|
|
|
>
|
|
In the next example, select the check box for floating-point computation in the pop-up dialogue, to force use of numerical integration (quadrature).
|
>
|
|
|
|
Download Help Document
Was this information helpful?