 How Do I - Maple Programming Help

Home : Support : Online Help : Getting Started : How Do I... : HowDoI/EnterAnExpression

How Do I

 Enter a Simple Expression?

In Maple, mathematical expressions, such as $\sqrt{{x}^{2}+\mathrm{π}}$, can be entered in a natural, textbook-like notation. In Maple, this is called 2-D Math notation. The following examples demonstrate the process of entering expressions.

To begin, create a new document in Document mode. To begin entering a 2-D mathematical expression, ensure that you are in Math mode. In this mode, the cursor is inside a box with a dotted outline that indicates the boundaries of the mathematical expression. By default, all new documents created in Document mode start in Math mode so that you can begin entering mathematical expressions immediately. To switch between Math mode and Text mode, press F5. Example:

Ensure that you are in Math mode, and follow the steps below to enter the expression .

 Step Description Illustration 1 Type $2$, then $x$. Maple's Math mode treats the juxtaposition of a constant and a variable as an implicit multiplication. 2 Press forwards slash (/) to enter the denominator. 3 Type $5$. 4 To bring the cursor back onto the base line, press the right arrow (→) key on your keyboard. 5 Type (+). There is no need to type a space, as Maple automatically adjusts the spacing for you. 6 Repeat steps 1 through 4 to type . 7 If you wish to continue typing non-mathematical text, press F5 to switch to Text mode. Example: $\sqrt{{x}^{2}+\mathrm{π}}$

Ensure that you are in Math mode, and follow the steps below to enter the expression $\sqrt{{x}^{2}+\mathrm{\pi }}$.

 Step Description Illustration 1 Click the $\sqrt{{a}}$ template in the Expression palette. The green placeholder is selected automatically. 2 Type $x$ to overwrite the ${a}$. 3 To place the cursor in the exponent position, press Shift + ^. Type $2$. 4 To bring the cursor back onto the base line, press the right arrow [→] key on your keyboard. 5 Type +. There is no need to type a space, as Maple automatically adjusts spacing for you. 6 Type the word pi, and press Esc. The command completion list appears, listing every available symbol and command whose name begins with pi. For the Greek symbol for pi, select $\mathbf{π}$. 7 If you wish to continue typing non-mathematical text, press F5 to switch to Text mode. Related Topics The How Do I... topics cover the essentials for doing mathematics in Maple. Learn more about available tools and features, such as palettes and the context panel. Refer to Help>Quick Reference for basic Getting Started tips.