Basic Maple Syntax and Operations:

Commands:

A MAPLE command is a statement of a calculation followed by a either semicolon or a colon. If followed by colon, the result will be stored but not displayed. 

Example: 12+20 followed by ; or :  in Maple gives:

> 12+20;

                                     32  

> 12+20:

colon (:) suppresses the display of the output.

 
Practice:  Download the attached Maple file and follow along!
(To download the maple file, right click on the file, then choose "save link as..".)



 Arithmetic operations:

The symbols +, -, * (or . ) , /, and ^ denote addition, subtraction, multiplication, division, and exponentiation. When a string of operations are specified in a command, MAPLE first does exponentiations, then multiplications and divisions, then additions and subtractions. To change the order, use parentheses.

Example: 

> (2+3).(4+5);

                                    45

> 10*(2+3);

                                    50

> 7.12 /5;

                                 1.424000000

ċ
BasicReview.mw
(85k)
Amina Eladdadi,
Aug 31, 2009, 6:10 PM
Ċ
Amina Eladdadi,
Aug 31, 2009, 6:12 PM