Function: convert/explicit - converts a parametric function to an explicit function.
Calling Sequence:
convert(L, explicit);
convert(L, explicit, option);
Parameters:
L - a list with two or three expressions
option - an option ('evalf' or 'floats')
Description:
convert/explicit converts a 2-dimensional parametric function to an explicit function.
To specify the parametric function put the two functions
depending on the parameter
t
into a list.
Alternatively, the parameter t may be included in the list L as the third element. Another possibility is to pass this parameter t with a range a .. b as an equation, i.e. t=a .. b, where t is the name of the parameter, a and b are algebraic expressions, e.g. names or numeric values.
convert/explicit does not accept equations, such as [
].
By passing a third argument (either 'evalf', 'float', or 'floats') the explicit function is evaluated by evalf before being returned.
This function uses isolate to convert the expression. If isolate returns a RootOf expression, convert/explicit automatically applies allvalues .
The result is simplified before it is returned. If you do not want the result to be simplified, set the global environment variable _MathSimplify to false. This may be useful in some few cases. The default of _MathSimplify is true.
This function is part of the math package, it is initialized via the math initialization file, and so can be used only after performing the command with(math, []) or with(math).
Examples:
> restart: with(math, []);
> convert([1/2*t^2+2, 3/4*t^2+1], explicit);
> convert([1/2*t^2+2, 3/4*t^2+1, t=0 .. a], explicit);
> convert([1/4*t-2, 1/10*t^2], explicit, evalf);
> convert([t^2, t^3], explicit);
> convert([1/sqrt(t-1), t^2-4], explicit);
Here, there is a simpler solution:
> _MathSimplify := false:
> convert([1/sqrt(t-1), t^2-4], explicit);
> _MathSimplify := true:
See Also:
convert .
Version History:
Version 1.0 as of December 07, 1997.
Version 1.1 as of February 28, 1998.