Get Equation - Maple Help

Maplets[Examples]

 GetEquation
 display a Maplet application that requests an equation

 Calling Sequence GetEquation(opts)

Parameters

 opts - equation(s) of the form option=value where option is one of caption, title, or width; specify options for the Maplet application

Description

 • The GetEquation() calling sequence displays a Maplet application that prompts the user to enter an equation. This equation is returned to the Maple session.  If the user enters an algebraic expression, it is equated to zero before it is returned.  If the user does not enter an equation, an exception is raised.
 • The GetEquation sample Maplet worksheet describes how to write a Maplet application that behaves similarly to this routine by using the Maplets[Elements] package.
 • The opts argument can contain one or more of the following equations that set Maplet application options.
 caption = string
 Specifies the text that prompts the user for an equation. By default, the caption is Enter an equation:.
 title = string
 Specifies the Maplet application title.  By default, the title is Get Equation.
 width = posint
 Specifies the input field width.  By default, the width is 30 characters.

Examples

 > $\mathrm{with}\left(\mathrm{Maplets}\left[\mathrm{Examples}\right]\right):$
 > $f≔\mathrm{GetEquation}\left(\right)$
 ${f}{≔}{{x}}^{{2}}{=}{y}$ (1)
 > $g≔\mathrm{GetEquation}\left(\right)$
 ${g}{≔}\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right){-}{{y}{}\left({x}\right)}^{{2}}$ (2)