go to UNSW home page
UNSW logo School of Mathematics Home Page

Contacts | Sitemap
  
UNSW
Faculty of Science
School of Mathematics and Statistics
Current Students
 
Undergraduate
  Course Homepages
  Help for Students
  Assessment Policies
  Exam Information
  Scholarships & Awards
  Programs & Courses
  Honours
  Computing Information
   Computing Facilities
   What's New
   Code of Conduct
   Your Account
   My eLEarning Vista
   First Year Computing Notes
   Maple Assignments
   Matlab Assignments
   Priniting
   Computing Tests
   Maple Index
   Matlab Index
   Library Files
   Other Help Files
  Timetables
  Student Life
  Careers
Postgraduate Coursework
Postgraduate Research
Current Students> Undergraduate> Computing Information> Maple Assignments

Maple Assignments

This page gives details on generating and submitting First Year Maple assignments.

Note that there are no First Year Maple assignments this year.

For information about First Year matlab assignments, see the matlab assignments page


Information is available about

It is possible to do the assignment on any computer with Maple (see the page on Maple Basics on the availability of Maple), but currently it is not possible to generate the assignment via the web. Assignment for these courses cannot be submitted over the web either, and the markmy program cannot be run over the web either.

Generating Assignments

The exact details of the command for getting your first assignment will be shown in the message of the day, but it will always be something like the following examples of commands (entered at a Linux prompt).

* To get a copy of assignment 1 in a file called ass1, enter the command
genass1 > ass1

* To print a copy of assignment 1, either use lpr to print the file ass1 you got above (see section 4.6 of the Computing Notes), or enter the command

genass1 | lpr

to print it on the printer in the Lab where you are at the time. The vertical stroke is on the same key as the \ symbol.

This second method of printing the assignment will NOT give you a copy in your directory.


Submitting Assignments

To submit an assignment, you must

  • Create a Maple Input file.
  • Create a Command file.
  • Submit the Command file
Creating a Maple Input file

(From Chapter 5 of the Computing Notes)

The following assumes that you have completed question 1 from your first assignment, and the active Maple worksheet is the one with your completed work.

  1. Click on the word File on the left of the menu bar and select Export As ... A dialogue box called Export As will appear.
  2. Click on the downward pointing triangle at the bottom of the dialogue box and a submenu will appear.
  3. Select the option Maple Input (you may need to scroll down the menu).
  4. Click the mouse pointer in the box beside the words File Name and type quest1. Maple will automatically add the .mpl file extension if you omit it.
  5. Press Enter or click on Save.
DO NOT Export the file as a Maple Text, a Text file, an HTML Source or a LaTeX Source file.

Creating a Command file

The following assumes that you have created a Maple input file called quest1.mpl:

1) Move the mouse pointer into a sigma window and check that your command file works by using

maple < quest1.mpl | more

If this does not give you the results that you expect, talk to a consultant in Room G012.

2) IF you are satisfied with the above, change the name of quest1.mpl to whatever the assignment requires using the Linux mv command. For example

mv quest1.mpl a1q1

Submitting a Command File

To submit the file a1q1 from above, use the command

give math1131 ass1 a1q1

(replace math1131 by your own Mathematics course).

Now that you have successfully submitted question 1, repeat the above for question 2 (replacing quest1.mpl by quest2.mpl and a1q1 by a1q2 etc).


Marking your assignment

The markmy command enables students to check what marks your submitted assignment will score when computer marked.

It will normally become available for a given assignment a couple of weeks before the assignment is due. It will not be available at other times. The message of the day will contain information about its availability.

For each question it provides

  • a copy of exactly what has been submitted
  • the results that are put in the named variables ANS1A etc (as required in the
  • assignment) when the submitted commands are run through Maple
  • information about the correctness of these results
  • a mark for the question.
Finally a total mark for the whole assignment is given.

You can use markmy once at least one question has been submitted -- there is no need to wait until all questions have been submitted.

To use markmy enter a command like

markmy math1131 ass1

at the Linux prompt. Change the course and/or assignment name as appropriate.

The output of the markmy command is sent to the screen using more and can be redirected to a file if need be by typing

> filename

at the end of the command above.

Note You are advised to use markmy just before the closing date for an assignmnent in case something has changed in the meantime.