Example 1
Typing e by hand does not create an expression meaning the base of the natural logarithm ( ). Instead, the e is simply a variable.
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.
>
|
|
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.
Solution 3 - The exp Function
You can also use the exp function:
See the exp help page for additional information.
Example 2 - Prevent this warning from appearing
Suppose do you want to use e as a name (a variable), and did not intend it to mean the exponential e.
>
|
|
Solution
You can control whether parse warning messages appear via Typesetting:-Settings.
>
|
|
>
|
|
Now you do not see the warning message.