CSL 102: Introduction to Computer Science

Assignment 3 : Operations using List

Date: 8.2.2010
Due Date: 22.2.2010

Part A: Operations on Polynomials

A polynomial is represented using a list of reals. Write functions to do the following operations on polynomials.

Part B: Set Operations

A set is represented using a list. The members in a set can be in any order, and there is only one occurence of the same element on the list. Write functions to do the following operations on sets.