Worksheet01 - Maple for Math Majors Roger Kraft Department...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Maple for Math Majors Roger Kraft Department of Mathematics, Computer Science, and Statistics Purdue University Calumet [email protected] 1. Maple Basics This worksheet helps you get started using Maple and its user interface. It also introduces you to some of Maple's basic capabilities. This worksheet contains five sections. Click on a plus sign below to expand a section. 1.1. Introduction The main purpose of this worksheet is to introduce you to Maple. As you will soon see, this worksheet is an interactive document. You will do more than just read it, you will work with it. You can make changes to it and try variations on what is in it. In other words, as you work through this worksheet you will not just be reading about Maple, you will actually be doing something with Maple. Either click on the plus sign below or, if the cursor is on the next prompt, just hit the Enter key to open the next section of this worksheet and begin working. > 1.2. Getting started with Maple A Maple worksheet is made up of three components, Maple commands (in red), the output (in blue) that Maple produces for each command, and explanations (in black). Here is an example of a Maple command and its output. > 1+1; 2 Some of the commands in this worksheet, like the one just above, have already been executed and their output is right below the command. But most of the commands in this worksheet have not yet been executed and so you need to tell Maple to execute them so that you can see the results. Here is an example of a Maple command that has not been executed yet. To execute this command, click on it with the mouse and then hit the Enter key. > 2+2; Notice how Maple produced the output and then the cursor jumped down to the next Maple command, skipping over this explanation. From now on, this is pretty much how things will go in this worksheet; the cursor is on a Maple command, you hit the Enter key, Maple executes the command and displays the result, the cursor jumps down to the next Maple command, and you read the explanation (if any) that is between the commands. (Occasionally, this skipping over the explanation between commands can cause Maple to scroll what you want to read right off of the top of the screen. When that happens, you need to use the vertical scroll bar on the edge of the window to scroll back down the screen.) Every Maple command is next to a prompt (the greater than sign >), and every Maple command must be terminated by a semicolon or colon. The semicolon tells Maple to print the result of the command, the colon tells Maple not to print the command's result. Try executing the next command. > 3+3: A Maple command can contain a comment that is not really part of the command. A pound sign (i.e. # ) as part of a line of Maple input means a comment that Maple should ignore....
View Full Document

This note was uploaded on 02/11/2012 for the course MTH 141, 142, taught by Professor Mcallister during the Spring '08 term at SUNY Empire State.

Page1 / 45

Worksheet01 - Maple for Math Majors Roger Kraft Department...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online