Warning, if e is meant to be the exponential e, use command/symbol completion or palettes to enter this special symbol, or use the exp function - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Error Message Guide : ifeismeanttobetheexponentiale

Warning, if e is meant to be the exponential e, use command/symbol completion or palettes to enter this special symbol, or use the exp function

 

Description

Examples

Description

In Maple, you can use almost any letter as as a variable, even when that letter is also used to represent a particular mathematical symbol or constant, such as the exponential constant ⅇ, the differential symbol ⅆ, or the imaginary unit .  To achieve this flexibility, these characters need to be entered as special symbols.  

This warning occurs if you type something that resembles an expression with the exponential ⅇ, but use a variable e, not the exponential symbol ⅇ. In order to enter the exponential function, use command/symbol completion, the palettes, or the exp function, as demonstrated in the examples below.

Note the difference in typesetting: the variable e is displayed in italics, whereas the exponential constant is displayed without italics: ⅇ. Using the wrong one leads to unexpected results, and often, this warning.

Variable e:

diffex,x

Warning, if e is meant to be the exponential e, use command/symbol completion or palettes to enter this special symbol, or use the exp function

exlne

(1.1)

 

Symbol ⅇ:

diffⅇx,x

ⅇx

(1.2)

Examples

Example 1

Typing e by hand does not create an expression meaning the base of the natural logarithm ( ⅇ 2.718231828 ).  Instead, the e is simply a variable.

ex

Warning, if e is meant to be the exponential e, use command/symbol completion or palettes to enter this special symbol, or use the exp function

ex

(2.1)

Solution 1 - Use the command/symbol completion

Use command/symbol completion to enter the exponential constant ⅇ.  Start by typing e, then press Esc.  Select Exponential 'e' from the pop-up list.

 

ⅇ

(2.2)

 

ⅇx

ⅇx

(2.3)

plotⅇx,x

Solution 2 - Use the Palettes

The Expression palette provide templates for entering mathematical expressions.  It's useful when you want to write a power of ⅇ.  Alternatively, the Common Symbols palette has an entry for ⅇ which you can incorporate into a larger expression.

 

To use the Expression palette, place your cursor in your document, then click the   template.  The placeholder is highlighted.  Type x.  Press enter to execute.

ⅇx

ⅇx

(2.4)

 

 

Solution 3 - The exp Function

You can also use the exp function:

expx

ⅇx

(2.5)

See the exp help page for additional information.

See Also

Palettes

Command Completion

exp