How Do I
Evaluate an Expression?
Maple can evaluate any mathematical expression and display the results inline or on a new line. Maple can also evaluate an expression at a point.
Before you proceed, be sure to familiarize yourself with entering simple mathematical expressions. Open a new worksheet in Document mode, and ensure that you are in Math mode.
Evaluating an Expression Inline
Evaluating an Expression on a New Line
Evaluating at a Point
Follow the steps below to evaluate 2 x5+3 x7 and display the result inline.
Type 2 x5+3 x7. For instructions on entering this expression, see entering an expression.
Press Ctrl + = or Alt + Enter to evaluate the expression inline.
The inline evaluation mechanism, when used with Maple's Context Panel, is one of the fastest methods to perform a string of successive computations.
Follow the steps below to evaluate 2 x5+3 x7 and display the result on a new line.
Press Enter. Maple displays and labels the result of an executed statement on a new line. By default, if this result is the first label in the document, it will be shown as (1). For more information on labels, see the Equation Labels subsection of the How Do I help page.
Equation labels organize the flow of computations. Keep these tips in mind when working with labels:
References can be made to any labeled result.
Labels are automatically numbered in sequence; if any labeled result is removed, then Maple automatically renumbers all equation labels and updates all equation label references.
The display format for labels can be changed. For more information, see the Equation Labels subsection of the How Do I help page.
Follow the steps to evaluate x2+π at x=2.
Type x2+π . For instructions on entering this expression, see the How Do I topic on entering an expression.
Click on the expression. In the context panel select Evaluate at a Point.
A dialog box appears; enter x=2.
The substitution is made.
Note that the result was calculated in symbolic form. If you prefer an approximation, click on the result and, from the context panel, choose Approximate and the desired number of digits.
You can also use the "evaluate at a point" template
from the Expression palette.
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.
How Do I...
...Enter a Complex Number?
...Enter a Function?
...Enter a Matrix?
...Enter a Simple Expression?
...Import Tabular Data?
...Plot a Function?
...Plot a Straight Line?
...Plot Multiple Functions?
...Solve an Ordinary Differential Equation?
...Work with Random Generators?
Tools and Features
Refer to Help>Quick Reference for basic Getting Started tips.
evaluation at a point
Note for non-Windows users: The keystrokes given in this document are for Windows. There will be differences for other platforms. If you are using a different platform, see Shortcut Keys.
Download Help Document