Assalamualaikum :)
Today we want to share with you about maple programming.
MAPLE PROGRAMMING
MAPLE is a powerful mathematical software package. It can be used to obtain both symbolic and numerical solutions of problems in arithmetic, algebra, and calculus and to generate plots of the solutions it generates.
It was first developed in 1980 by the Symbolic Computition Group at the University of Waterloo. In 1988, Maplesoft (then known as Waterloo Maple Inc.) was founded to commercialize the technology.
MAPLE SYNTAX AND OPERATIONS
Commands.A MAPLE command is a statement of a calculation followed by a semicolon (the result is displayed on the screen) or a colon (the result is stored but not displayed). Following are some commands followed by the displayed results. Enter the commands on your worksheet and verify the given results. When you get to "Save the file," select "Save" under the "File" menu or type CTRL-S.
- [> 4+5;9
- [> 6^2;36
- [> 3*4 + 7;19
- [> 3*(4+7);33
- Save the file
Arithmetic operations
The symbols +, -, *, /, and ^ (or **) denote addition, subtraction, multiplication, division, and exponentiation (4^2 = 4**2 = 42 = 16). 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.
Editing commands.
If you make a mistake in a command (like forgetting a semicolon) or want to change a command, you can go back and edit the command with the cursor and mouse as you would a word-processor text.
Operating on the last result.
Use a quotation mark (") to refer to the result of the last calculation, and a double quotation mark ("") to refer to the next-to-last result. For example,
- [> 5*2;10
- [> 7 + ";17
- [> " * "";170
MAPLE calculates fractions (exact arithmetic) unless you specify that you want decimals (floating-point arithmetic) with the evalf function ("evalf" stands for "evaluate using floating-point arithmetic"):
- [> 25/27 + 3/51;452
459 - [> evalf(25/27 + 3/51,3); ( or [> evalf(",3); )0.985
- Save the file
On-line help
You can get help with MAPLE syntax by using the HELP menu, as described previously. If you have a question about a particular command, you can quickly get help by typing a question mark followed by the command name (no semicolon). For example,
- [> ? evalfwill open a window containing information about what the evalf function does and how to use it.
- Close the help window. Click on the little box at the upper left of the window and select Close.
You can download the maple software here:
Here we provide you some illustration about the software:
For more understanding,you may refer to :
And you also may refer to here :
Here are some basic example of maple programming :
QUESTIONS
|
RESULTS
|
> y := (1+x)∧3:
> simplify(y∧(1/3)) assuming x<-1;
|
1 + x
|
>sqrt(-1);
|
1
|
>a:=
(x-y-z)*(x+y+z);
|
a := (x − y − z)(x + y + z);
|
Okay,thats all from us .
Thank you.. :)
No comments:
Post a Comment