B.1 Getting Started with Maple – Introduction to Cryptography with Coding Theory, 3rd Edition

B.1 Getting Started with Maple

  1. Download the Maple notebook math.mws that you find using the links starting at bit.ly/2TzKFec

  2. Open Maple (on a Linux machine, use the command xmaple; on most other systems, click on the Maple icon)), then open math.mws using the menu options under File on the command bar at the top of the Maple window. (Perhaps this is done automatically when you download it; it depends on your computer settings.)

  3. With math.mws in the foreground, press the Enter or Return key on your keyboard. This will load the functions and packages needed for the following examples.

  4. You are now ready to use Maple. If you want to try something easy, type 1+2*3+4^5; and then press the Return/Enter key. The result 1031 should appear (it’s 1+23+45).

  5. Go to the Computer Examples in Section B.3. Try typing in some of the commands there. The outputs should be the same as those in the examples. Press the Return or Enter key to make Maple evaluate an expression.

  6. If you make a mistake in typing in a command and get an error message, you can edit the command and hit Return or Enter to try again. You don’t need to retype everything.

  7. If you are looking for help or a command to do something, try the Help menu on the command bar at the top. If you can guess the name of a function, there is another way. For example, to obtain information on gcd, type ?gcd and Return or Enter.