Appendix
A-2: Arithmetic Calculations
Example A-2.4
Explore each of the following: 2/3, |-5|, e−3, ln4, log28.
Solution
Maple Solution - Interactive
Expression palette: Click on a. Type 2 in the field "a". Exit the radical with the right-arrow key.
Context Panel: Approximate≻10 (digits)
23→at 10 digits0.4714045206
Use the vertical stroke character for the absolute-value bars, or click on a in the Expression palette.
Context Panel: Evaluate and Display Inline
−5 = 5
The exponential e
Click on ⅇ in either of the palettes Constants and Symbols, or Common Symbols. Alternatively, type e (in math mode) and using Command Completion (see Table A-1.2), select Exponential 'e'. (See also Table A-2.1.)
Enter the exponential e.
To raise the cursor for the exponent, type ^ (i.e.,Shift+6).
ⅇ−3→at 10 digits0.04978706837
Type either ln4 or log4 to obtain the natural logarithm.
ln4→at 10 digits1.386294361
Type log28.
log28 = 3
Maple Solution - Coded
Use the sqrt and evalf commands.
q≔sqrt23; evalfq
Use the abs command.
abs−5
Enter the exponential function with the exp command.
q≔exp−3; evalf−3
Enter the natural logarithm with the ln (or log) command.
q≔ln4; evalfq
Enter log2 with square brackets, as shown to the right.
log28
<< Previous Example Section A-2 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document