- Compute the following expressions in Maple:
![[Maple Math]](../images/symbols-01a1.gif)
> 8/(5*2);
![[Maple Math]](../images/symbols-01a2.gif)
![[Maple Math]](../images/symbols-01a3.gif)
> 5/6^2;
![[Maple Math]](../images/symbols-01a4.gif)
- Compute 5 + 2 - 3 using ditto marks.
> 5+2;
![[Maple Math]](../images/symbols-01a5.gif)
> %-3;
![[Maple Math]](../images/symbols-01a6.gif)
> 5!;
![[Maple Math]](../images/symbols-01a7.gif)
- Create a command line with two statements: 2 + 3 and 2 - 3. Use the correct line delimiters so that you receive output from only the first computation.
> 2+3;
2-3:
![[Maple Math]](../images/symbols-01a8.gif)
- Show an example of appropriate use of the backslash symbol.
> 2+3-\
5-2;
![[Maple Math]](../images/symbols-01a9.gif)
- Create a sequence of x squared. Make the sequence five units long.
> (x^2)$5;
![[Maple Math]](../images/symbols-01a10.gif)
- Use Maple to create an example of something you learned in this lesson. Use appropriate comments so that you would know what the code does if you forget. (Example: If you compute 2 times 3, your comment might say "In Maple, use the asterisk to represent multiplication.")
One example (You did not have to do the double-ditto mark):
> 2+3;
![[Maple Math]](../images/symbols-01a11.gif)
> 2-3;
![[Maple Math]](../images/symbols-01a12.gif)
> %%+2; #The double ditto mark returns the next to the last piece of output
![[Maple Math]](../images/symbols-01a13.gif)
Maple stores 442 in the variable x. That is because Maple's order of operations says that it evaluates assignment last. Therefore, Maple has already evaluated 2+5(88) before it stores it into a variable.
Close this window