Getting Started on the Math Department Computers
Math 2280


Logging in to a Math Lab machine
The Math Department Computer Lab is located in 205 South Physics: immediately north from the Math building JWB on president's circle.

Everyone who is registered in Math 2280 should automatically have an account set up in our lab. These accounts are created from University class lists so it sometimes happens that late-registering people don't have accounts yet. If you turn out to be one of these people you will need to consult the lab assistant about getting an account. Make sure to bring your student I.D. because the first thing the assistant must do is verify that you are a University student.

If your machine looks asleep jiggle the mouse or hit any key to wake it back up. If necessary type a ``return'' (or ``enter'') key to get the cursor into the ``login name'' box. Your login name is made out of your student I.D. number and your actual name, as follows. All names from classes begin with ``c-''. If your name is Karl Fred GausS, then your login name is c-gskf, following the recipe: c-(first letter of last name)(last letter of last name)(first letter of first name)(middle initial). If there are multiple people registered this term who would have the same login name, say c-gskf, then they are instead assigned login names as c-gskf1, c-gskf2, c-gskf3, etc. Mr. Gauss would not know beforehand which case he fell into, so would probably try c-gskf first, followed by his password. In case of failure he would then try c-gskf1, then c-gskf2, etc, through c-gskf4. Then he would find a lab assistant. After entering your try at a login name, type the ``return'' key and the cursor should be in the password box.

Your initial password is just the c-gskf part of your login name followed by the last four digits of your student I.D. number. If Mr. Gauss has ID number 000735421 then his initial password is gskf5421, regardless whether his login name was c-gskf or c-gskf3. If the login fails try again and then try the different login names suggested above. Another possibility (at least in the fall term) is that your account was created using your social security number (which used to be used for student ID number). If failure continues find a lab assistant and he/she will help you.

Once you are logged in successfully a ``local'' window should appear. Notice that it has various parts: borders on the top (title bar), borders on the side (scroll bar), etc. If you move your mouse on its pad your pointer (called cursor) moves around the screen. If you want to work in a window, the cursor should be in it.

Changing password
Sometime within the first two weeks of classes you must change your default password into a personal one. You do this as follows: Get your cursor into a local window. Type the unix command passwd, followed by return, and follow the directions. Your new password should be exactly 8 characters long. Don't choose a word in the dictionary or a proper name. Composites of dictionary words, like strawdog, are good. Even better is to use one or two upper case letters, e.g. strAwdog. For still more security, use some digits, e.g. strAw4o9. Note that it takes about 30 minutes for a new password to take effect. Also, you should be aware that if a password is not changed within the first two weeks of class, then your computer account will be disabled for security reasons.

Logging out
Move the cursor out of all windows (into the background), press the left mouse button and choose the last menu item: Exit X-Windows. (You probably don't want to do this now, but at least locate the menu item for later.)

At this point you are ready to get used to the X-windows:

X-windows, opening netscape, maple, mail, more
Go through the document Introduction to Xwindows in the Lab, which you should have a copy of. There should also be copies of this document at the back of the room. Xwindows are like most windows in most ways; your aim here is to experiment to see how to open and close windows, resize them, move them about, and find them if they happen to get hidden. When you get to the end of the document you should also have opened a NETSCAPE window and a MAPLE window. Note: The command for the most recent version of Maple is xmapleV5 &. You can also find version V5 of Maple as an option on one of your mouse buttons, it's your choice. Don't use mapleV4 or other earlier maples, since the software changes with each successive version.

Further information
If you want more in-depth information about the computing facilities in this lab, you might pick up a copy of the handout A Crash Course on CSC Facilities, from the back table.

Math Department resources
There is introductory material about Maple on our web pages. If you wish to see what's available use the browser window you made in step (2) above, and go to the departmental home page http://www.math.utah.edu. There is a wealth of information and links on this page. You can find current and future course offerings, faculty information, and much more by opening the various links with your mouse. Since we are interested in Maple information, use the scroll bar to move down the home page until you find the computing box, near the major heading More Information. (If the web page changes in the future, some of these directions may no longer be exactly correct.) Click on the computing box link, and you will automatically go to the address http://www.math.utah.edu/computing.html If you click on the Maple box you will be led to various introductory information. You may want to look at it later. There is also an introduction to Maple called Introduction to MapleV.4 in the Undergraduate Computer Lab, located at the web address http://www.math.utah.edu/lab/ms/mapleV4-intro.html (even though we are using V5). There may be paper copies of this document at the back of the lab. You may want to refer to either the on-line or paper copy.

Maple
Move your cursor into the Maple window which you created above. Maple is partly just a very fancy calculator; it can do practically any undergraduate mathematics computation or symbolic manipulation. You can write programs in Maple and draw pictures as well. If you are doing a homework assignment you can intersperse text with computations using the toolbar: to get a computation prompt click on the ``>'' box. To insert text click on the ``T'' box. You can use the mouse to cut, paste, and edit a document. In fact, this document you are reading is a Maple document even though it is largely text.

To give you a flavor of what Maple can do, we will try a few commands. They should begin on a line having a command prompt ``>'', and should be ended with either a semicolon ; or a colon : If you end with a semicolon you will see visible output, if you end with a colon the output will be suppressed even though the command is executed. Maple will not execute a command until you type the ``return'' or ``enter'' key. If you have a multiline command use ``shift-return'' to change lines without executing. If you mess up your parentheses or brackets or do something else which makes your command unexecutable you will get a ``syntax error'' message and Maple will try to point out your mistake. After a while you will become good at fixing these mistakes but they can be annoying at first. Spaces are ignored in Maple, so you may use them to make input easier to read. You can enter explanatory comments in a command line by inserting a ``#'' to the left of the comments; Maple ignores any text after the #. Sometimes this is more informative then entering nearby explanatory text, especially if you are explaining various steps in a subroutine.

Downloading files
You will want to download files from the course webpage and then use them in maple. Go to http://www.math.utah.edu/~thornton/m2280/handouts/. Right click on the link Maple Tutorial and select [Save Link As]. After saving, go to your maple window and you should be able to choose open file and open this file. You might have to tell Maple to look for [all files] and then tell Maple that you are acutally opening a Maple text file.