|
| Topic
Overview: |
+
|
-
|
/
|
*
|
|
|
^
|
sqrt
|
sum
|
evalf
|
| |
|
factor
|
expand
|
simplify
|
|
| |
+
- * /
|
|
| |
Description:
These are the math operations for adding, subtracting, multiplying,
and dividing. |
| |
Example:
Maple uses standard operations of weight. This will multiply
the two sums and divide. |
| |
> (2+6)*(3-1)/2;
8
|
| |
^
|
|
| |
Description:
This is
just your basic math operation for 'to the power'. |
| |
Example:
This will take 2 to the power of 20. |
| |
> 2^20;
1048576
|
| |
sqrt
|
|
| |
Description:
This is
just your basic math operation for square root. |
| |
Example:
Maple uses standard operations of power. This will multiply
the two sums and divide. |
| |
> sqrt(81);
9
|
| |
sum |
|
| |
Description:
Allows
you to obtain the sum |
| |
Example: |
| |
> sum(2*n, n = 1..4);
20
|
| |
evalf |
|
| |
Description:
This is
used to 'evaluate floating' up to 10 digits by default. |
| |
Example: Here
setting up the equation for Area. We then set r. Finally,
we can evaluate the area with a radius of 5. |
| |
> Area:=Pi
* r^2;
> r:=5;
r := 5
> evalf(Area);
78.53981635
|
| |
factor |
|
| |
Description:
Allows
you to factor (e.g. polynomials) |
| |
Example: Here
we setting a polynomial to the name p. Then we factor it. |
| |
> p := x^2 + 2*x -
3;
> factor(%);
(x + 3) (x -1)
|
| |
expand |
|
| |
Description:
Allows
you to expand (e.g. polynomials) |
| |
Example: Here
we seting the polynomial to f and expanding it. |
| |
> f := (x+4)*(x-2);
![[Maple Math]](images/maplealgebra7.gif)
> expand(f);
![[Maple Math]](images/maplealgebra8.gif)
|
| |
simplify |
|
| |
Description:
This will
allow you to simplify equations |
| |
Example: |
| |
> p := x^2 + 2*x -
3;
![[Maple Math]](images/maplealgebra1.gif)
> p/(x-1);
![[Maple Math]](images/maplealgebra2.gif)
> simplify(%);
![[Maple Math]](images/maplealgebra3.gif)
|
|
|