Overview of Projects for this Semester

This class involves one big project, broken into major and minor pieces to help students make steady process through the course of the semester.

Concordance

Format of a concordance

Every word in the work has its own line in the concordance.

For instance, the line "Rats live on no evil star" might appear as

Lab 1: Simple Concordance

The concordance lines correspond to words in the work, i.e. to reconstruct the work you just need to print out the marked words and a new line when the line number changes. There will be two words of context for every word, except of course, near the front and the end of the line.

The sample simple concordance should produce:

Lab 2: Normal Concordance

The normal concordance lines are the same lines as with the simple concordance, except they are randomly sorted. Your program should produce the same results as in Lab 1.

Lab 3 Extreme Concordance

The extreme concordance lines are similar to those of the normal concordance, except that much of the context on each line is removed. No lines were deleted. Your program should produce the same results as with Lab 1 and 2.

Manipulating Polynomials

Each line of input will specify a polynomial in x that will need to be simplified and differentiated. These programs build on the program from Lab 3.

Polynomials will use addition, subtraction, and multiplication, along with signed numbers and the variable 'x'. It also uses juxtaposition to reflect implied multiplication. For instance, "2x", actually represents "2 * x".

When you display polynomials, you will use the exponentiation operator, '^'. For instance, "3x^2" actually represents "3 * x * x."

Lab 4: Read, Simplify, and Echo

Input a polynomial expression, simplify it, and print it. For instance

Lab 5: Differentiate

Input an expression, differentiate it, simplify it, and print it

The rules for differentiation you'll need are:

Lab 6: Integration - the Final Project

Input an extreme concordance, re-assemble the underlying expression, differentiate it, and print it

For instance, the differentiating the sample formula concordance should produce: