display a Maplet application that requests an equation - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Examples : Maplets/Examples/GetEquation

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

withMaplets[Examples]:

f:=GetEquation

f:=x2=y

(1)

g:=GetEquation

g:=ⅆⅆxyxyx2

(2)

See Also

GetEquation Sample Maplet, Maplets[Elements], Maplets[Examples], Overview of Maplet Applications


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam